We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10bbc7b commit 00e5ac0Copy full SHA for 00e5ac0
.github/workflows/docker-publish.yaml
@@ -32,6 +32,7 @@ jobs:
32
echo "Version '$VERSION' is a valid SemVer version"
33
fi
34
- name: checkout
35
+ id: checkout
36
uses: actions/checkout@v4
37
with:
38
ref: refs/tags/v${{ github.event.inputs.version }}
@@ -59,6 +60,9 @@ jobs:
59
60
type=semver,pattern={{major}}.{{minor}},value=v${{ github.event.inputs.version }}
61
type=semver,pattern={{major}}.{{minor}}.{{patch}},value=v${{ github.event.inputs.version }}
62
type=semver,pattern={{version}},value=v${{ github.event.inputs.version }}
63
+ labels: |
64
+ org.opencontainers.image.revision=${{ steps.checkout.outputs.commit }}
65
+ org.opencontainers.image.version=${{ github.event.inputs.version }}
66
flavor: |
67
latest=false
68
- name: docker-build
0 commit comments