From bd3e4afe82eaf37fd6d24ac99176f4949ab1def0 Mon Sep 17 00:00:00 2001 From: Kamil Krzywicki <12999736+camaeel@users.noreply.github.com> Date: Tue, 13 Feb 2024 16:37:44 +0100 Subject: [PATCH] Update push.yaml --- .github/workflows/push.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 657653e..6fadb75 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -66,6 +66,7 @@ jobs: platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }} + build-args: LDFLAGS="-X main.SHA=${{ github.sha }}" - uses: docker/build-push-action@v4 if: github.repository != 'uswitch/vault-creds' @@ -75,4 +76,5 @@ jobs: platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta-forks.outputs.tags }} + build-args: LDFLAGS="-X main.SHA=${{ github.sha }}"