Skip to content

Commit 3c9428f

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ jobs:
6868
VERSION: ${{ steps.bump-version.outputs.version }}
6969
run: >
7070
docker build -f Dockerfile
71-
--label 'org.opencontainers.image.source=${{ github.server_url }}/${{ github.repository }}'
71+
--label "org.opencontainers.image.source=${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}"
72+
--label "org.opencontainers.image.revision=${GITHUB_SHA}"
7273
--build-arg "VERSION=$VERSION"
7374
-t "$DOCKER_TAG"
7475
.

0 commit comments

Comments
 (0)