-
Notifications
You must be signed in to change notification settings - Fork 2
55 lines (49 loc) · 1.36 KB
/
release-images.yaml
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
54
55
name: release-images
on:
# Manual trigger
workflow_dispatch: {}
# Automatic trigger after each release
# Note: Triggers on both successes and failures (see conditional below)
workflow_run:
workflows:
- release
types:
- completed
jobs:
build_images:
name: Build Images
runs-on: ubuntu-latest
if: |
github.event.workflow_run.conclusion == 'success' ||
github.event.workflow_run.conclusion == null
steps:
- uses: actions/checkout@v4
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build api-server image
run: |
cd images/
make api-server
- name: Build oracle-provider image
run: |
cd images/
make oracle-provider
- name: Publish base images
run: |
cd images/
make api-server-push
make oracle-provider-push
- name: Build images with sample data
run: |
cd images/
make api-server-with-data
make api-server-with-data-mt
- name: Publish auxiliary images
run: |
cd images/
make api-server-with-data-push
make api-server-with-data-mt-push