From e85a402c4f23ef4bc52bb02d6d9f1cacc1fb9ab1 Mon Sep 17 00:00:00 2001 From: Evan Johnson Date: Tue, 23 Apr 2024 18:29:13 -0400 Subject: [PATCH] add git ref to CAPL image through build args --- .github/workflows/build-push.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index c0034cbd4..a60150d7f 100644 --- a/.github/workflows/build-push.yml +++ b/.github/workflows/build-push.yml @@ -32,6 +32,7 @@ jobs: uses: docker/build-push-action@v5 with: context: . + build-args: VERSION=${{ github.ref_name == 'main' && github.sha || github.ref_name }} platforms: linux/amd64,linux/arm64 push: true tags: ${{ steps.meta.outputs.tags }}