Skip to content
This repository was archived by the owner on Dec 26, 2024. It is now read-only.

Commit 014f1e9

Browse files
authored
fix(ci): missing commit hash in docker builds (#79)
1 parent 7232115 commit 014f1e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147
build-args: |
148148
BUILDTIME=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
149149
VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
150-
REVISION=${{ github.event.pull_request.head.sha }}
150+
REVISION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
151151
cache-from: type=gha
152152
cache-to: type=gha,mode=max
153153
provenance: false

0 commit comments

Comments
 (0)