Added new build-args containing the version info

This commit is contained in:
simonmicro 2022-12-11 22:54:29 +01:00
parent 818520730c
commit bf323f73c5
No known key found for this signature in database
GPG key ID: 033A4D4CE4E063D6

View file

@ -40,6 +40,9 @@ jobs:
platforms: linux/amd64,linux/386,linux/arm64/v8,linux/arm/v7,linux/arm/v6
push: true
tags: pykmsorg/py-kms:python3,ghcr.io/py-kms-organization/py-kms:python3
build-args: |
BUILD_COMMIT=${{ github.sha }}
BUILD_BRANCH=${{ github.ref_name }}
- name: Build
uses: docker/build-push-action@v2
with: