Skip to content

Commit

Permalink
fix: Build image event name (#283)
Browse files Browse the repository at this point in the history
<!-- Thank you for your contribution. Before you submit the pull
request:
1. Follow contributing guidelines, templates, the recommended Git
workflow, and any related documentation.
2. Read and submit the required Contributor Licence Agreements
(https://github.com/kyma-project/community/blob/main/CONTRIBUTING.md#agreements-and-licenses).
3. Test your changes and attach their results to the pull request.
4. Update the relevant documentation.

If the pull request requires a decision, follow the [decision-making
process](https://github.com/kyma-project/community/blob/main/governance.md)
and replace the PR template with the [decision record
template](https://github.com/kyma-project/community/blob/main/.github/ISSUE_TEMPLATE/decision-record.md).
-->

**Description**

Changes proposed in this pull request:

- ...
- ...
- ...

**Related issue(s)**
<!-- If you refer to a particular issue, provide its number. For
example, `Resolves #123`, `Fixes #43`, or `See also #33`. -->
  • Loading branch information
ruanxin authored Nov 4, 2024
1 parent a424d9a commit 9301e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
tags=""
if [[ "${{ github.event_name }}" == "push" ]]; then
tags="latest"
elif [[ "${{ github.event_name }}" == "workflow_call" ]]; then
elif [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
tags="${{ inputs.tag }}"
elif [[ "${{ github.event_name }}" == "pull_request_target" ]]; then
tags="${{ github.event.pull_request.head.sha }}"
Expand Down

0 comments on commit 9301e42

Please sign in to comment.