Skip to content

Commit fba87d9

Browse files
authored
Update release.yml
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
1 parent 43a3dad commit fba87d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,9 @@ jobs:
190190
- name: Build Container Image (${{ env.VERSION }})
191191
run: >
192192
docker build -f Dockerfile
193-
--label 'org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}'
193+
--label 'org.opencontainers.image.source=${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}'
194+
--label 'org.opencontainers.image.revision=${GITHUB_SHA}'
195+
--label 'org.opencontainers.image.version=$VERSION'
194196
--build-arg "VERSION=$VERSION"
195197
-t "$DOCKERHUB_REPO:$VERSION"
196198
-t "$DOCKERHUB_REPO:latest"

0 commit comments

Comments
 (0)