-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (50 loc) · 1.82 KB
/
build-docker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Build on every push except main branch
on:
push:
branches-ignore:
- main
jobs:
build:
name: "Build"
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- name: Setup cache
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build and push Docker images (issuer)
uses: docker/build-push-action@v6
with:
push: false
file: waltid-issuer-api/Dockerfile
#tags: waltid/issuer-api:latest, waltid/issuer-api:${{ env.release_version }}
- name: Build and push Docker images (verifier)
uses: docker/build-push-action@v6
with:
push: false
file: waltid-verifier-api/Dockerfile
#tags: waltid/verifier-api:latest, waltid/verifier-api:${{ env.release_version }}
- name: Build and push Docker images (wallet-api)
uses: docker/build-push-action@v6
with:
push: false
file: waltid-wallet-api/Dockerfile
#tags: waltid/wallet-api:latest, waltid/wallet-api:${{ env.release_version }}
- name: Build and push Docker images (waltid-web-wallet)
uses: docker/build-push-action@v6
with:
push: false
file: waltid-web-wallet/Dockerfile
#tags: waltid/waltid-web-wallet:latest, waltid/waltid-web-wallet:${{ env.release_version }}
- name: Build and push Docker images (wallet-portal)
uses: docker/build-push-action@v6
with:
push: false
file: waltid-web-portal/Dockerfile
#tags: waltid/portal:latest, waltid/portal:${{ env.release_version }}