Skip to content

Commit

Permalink
event_name
Browse files Browse the repository at this point in the history
Signed-off-by: Sammy Huang <[email protected]>
  • Loading branch information
yellow-shine committed Dec 7, 2023
1 parent 30eef3b commit d0d48f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
# Custom tagging is enabled for manual workflow dispatch events. The format combines branch name, current date, and commit hash.
# Example format: 'feature-branch-20231207-ad132f5'.
# This custom tag is generated only when the workflow is triggered via 'workflow_dispatch' event.
type=raw,value={{branch}}-{{date 'YYYYMMDD'}}-{{sha}},enable=${{ github.event == 'workflow_dispatch' }}
type=raw,value={{branch}}-{{date 'YYYYMMDD'}}-{{sha}},enable=${{ github.event_name == 'workflow_dispatch' }}
- name: Login to Docker Hub
Expand Down

0 comments on commit d0d48f5

Please sign in to comment.