File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 4
4
release :
5
5
types :
6
6
- published
7
+ - edited
7
8
8
9
env :
9
10
REGISTRY : ghcr.io
20
21
steps :
21
22
- name : Checkout repository
22
23
uses : actions/checkout@v4
24
+ with :
25
+ submodules : recursive
26
+ fetch-dpth : 0
27
+ fetch-tags : true
28
+ - name : Compute SemVer from Tags and Commits
29
+ id : version
30
+ run : |
31
+ echo "VERSION=$(${PWD}/.version/calculate-version.sh | sed -e 's/+/--/')"
32
+ echo "VERSION=$(${PWD}/.version/calculate-version.sh | sed -e 's/+/--/')" >> $GITHUB_OUTPUT
23
33
- name : Log in to the Container registry
24
34
uses : docker/login-action@v3
25
35
with :
37
47
with :
38
48
context : .
39
49
push : true
40
- tags : ${{ steps.meta .outputs.tags }}
50
+ tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest,${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version .outputs.VERSION }}
41
51
labels : ${{ steps.meta.outputs.labels }}
42
52
43
53
- name : Generate artifact attestation
You can’t perform that action at this time.
0 commit comments