fix(build): actions docker build-args (#165)

* fix(build): actions docker build-args
This commit is contained in:
Ludvig Lundgren 2022-03-05 16:51:11 +01:00 committed by GitHub
parent 0878790232
commit 1374dd150c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 7 deletions

View file

@ -44,8 +44,9 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
GIT_TAG=$GITHUB_REF_NAME
GIT_COMMIT=$GITHUB_SHA
BUILDTIME=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
REVISION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}