build: set version in docker build (#164)

This commit is contained in:
Ludvig Lundgren 2022-03-04 23:01:12 +01:00 committed by GitHub
parent 9ea29d02a2
commit 0878790232
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 4 deletions

View file

@ -43,6 +43,9 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
GIT_TAG=$GITHUB_REF_NAME
GIT_COMMIT=$GITHUB_SHA
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}