We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3db2d5 commit 47f155fCopy full SHA for 47f155f
.github/workflows/publish.yml
@@ -23,6 +23,11 @@ jobs:
23
uses: docker/metadata-action@v5
24
with:
25
images: ghcr.io/${{ github.actor }}/rust-wasi-hello
26
+ tags: |
27
+ type=ref,event=branch
28
+ type=ref,event=pr
29
+ type=semver,pattern={{version}}
30
+ type=semver,pattern={{major}}.{{minor}}
31
- name: Login to GitHub Container Registry
32
uses: docker/login-action@v3
33
@@ -52,4 +57,4 @@ jobs:
52
57
run: bash scripts/build.sh
53
58
54
59
- name: Run publish script
55
- run: bash scripts/publish.sh ${{ steps.meta.outputs.tags }}
60
+ run: bash scripts/publish.sh ${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
0 commit comments