Skip to content

Commit

Permalink
add git ref to CAPL image through build args
Browse files Browse the repository at this point in the history
  • Loading branch information
eljohnson92 committed Apr 24, 2024
1 parent 698dd68 commit 02ed313
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
build-args: VERSION=${{ github.ref_name == 'main' && format('main-{0}', github.sha) || github.ref_name }}
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down

0 comments on commit 02ed313

Please sign in to comment.