Skip to content

Commit

Permalink
pass triggering branch as docker build arg
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyMinucci authored Jan 25, 2024
1 parent 8bad572 commit 1f4f277
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
build-args: "BRANCH_NAME=${{ github.head_ref || github.ref_name }}"
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 1f4f277

Please sign in to comment.