feat: add dynamic build branch argument for Docker image creation

This commit is contained in:
troyeguo committed 2026-05-16 15:05:03 +08:00
1 parent a05e5c0aa9
commit 53a5e0bdad
2 files changed
+3 -1

No files matched your search

+1
View File
@@ -70,6 +70,7 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: BUILD_BRANCH=${{ github.ref_name }}
# Sign the resulting Docker image digest except on PRs.
# This will only write to the public Rekor transparency log when the Docker