1
0
mirror of https://github.com/lus/pasty.git synced 2023-08-10 21:13:09 +03:00

Add commit hash tagging for pinned container build versions

This commit is contained in:
William Perdue 2021-11-15 08:13:59 -08:00
parent 4d9447196d
commit 8ebcf541c5

View File

@ -45,6 +45,6 @@ jobs:
builder: ${{ steps.docker_buildx.outputs.name }}
platforms: linux/amd64, linux/arm64
push: true
tags: ${{ env.REGISTRY }}/${{ github.repository }}:${{ env.TAG }}
tags: ${{ env.REGISTRY }}/${{ github.repository }}:${{ env.TAG }}, ${{ env.REGISTRY }}/${{ github.repository }}:${{ COMMIT_HASH }}
build-args:
PASTY_VERSION=${{ env.BRANCH }}-${{ env.COMMIT_HASH }}