File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 6363 tags : ${{ steps.meta.outputs.tags }}
6464 labels : ${{ steps.meta.outputs.labels }}
6565 build-args : |
66- COMMIT_HASH=${{ github.sha }}
66+ BUILDTIME=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
67+ VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
68+ REVISION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
69+
6770
6871 - name : Extract file from pushed image
6972 if : github.ref_type == 'tag'
Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ COPY . .
2525
2626# target parameters for cross-compilation
2727ARG TARGETOS
28- ARG TARGETARCH
28+
29+ ARG BUILDTIME=""
2930ARG VERSION="dev"
3031ARG REVISION="000000000000000000000000000000"
3132
You can’t perform that action at this time.
0 commit comments