File tree Expand file tree Collapse file tree 2 files changed +16
-17
lines changed Expand file tree Collapse file tree 2 files changed +16
-17
lines changed Original file line number Diff line number Diff line change 1
- name : Build, Update Config, and Deploy Development
1
+ name : Build latest development image
2
2
on :
3
3
workflow_dispatch :
4
4
push :
5
5
branches :
6
6
- main
7
+ paths :
8
+ - " docker/oidc-controller/**"
9
+ - " oidc-controller/**"
10
+ - " html-templates/**"
11
+ - " pyproject.toml"
12
+ - " poetry.lock"
7
13
jobs :
8
14
build :
9
15
name : " Build ACAPy VC-AuthN"
10
16
if : github.repository_owner == 'openwallet-foundation'
11
17
uses : ./.github/workflows/publish.yml
12
18
with :
13
- tag : " dev"
14
19
ref : " main"
15
- platforms : " linux/amd64"
16
-
20
+ platforms : " linux/amd64,linux/arm64"
Original file line number Diff line number Diff line change 1
1
name : Publish ACAPy VC-AuthN Image
2
- run-name : Publish ACAPy VC-AuthN ${{ inputs.tag || github.event.release.tag_name }} Image
2
+ run-name : Publish ACAPy VC-AuthN ${{ github.ref_name || github.event.release.tag_name }} Image
3
3
on :
4
4
release :
5
5
types : [published]
6
6
workflow_call :
7
7
inputs :
8
- tag :
9
- description : " Image tag"
10
- required : true
11
- type : string
12
8
platforms :
13
9
description : " Platforms - Comma separated list of the platforms to support."
14
10
required : true
15
- default : linux/amd64
11
+ default : linux/amd64,linux/arm64
16
12
type : string
17
13
ref :
18
14
description : " Optional - The branch, tag or SHA to checkout."
28
24
29
25
workflow_dispatch :
30
26
inputs :
31
- tag :
32
- description : " Image tag"
33
- required : true
34
- type : string
35
27
platforms :
36
28
description : " Platforms - Comma separated list of the platforms to support."
37
29
required : true
38
- default : linux/amd64
30
+ default : linux/amd64,linux/arm64
39
31
type : string
40
32
ref :
41
33
description : " Optional - The branch, tag or SHA to checkout."
94
86
tags : |
95
87
type=semver,pattern={{version}}
96
88
type=semver,pattern={{major}}.{{minor}}
97
- type=ref,event=pr
98
- type=sha
89
+ # set dev tag when building from the default branch (main)
90
+ type=raw,value=dev,enable={{is_default_branch}}
91
+ # set latest tag for published release
92
+ type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
93
+
99
94
100
95
- name : Build and Push Image to ghcr.io
101
96
uses : docker/build-push-action@v6
You can’t perform that action at this time.
0 commit comments