Skip to content

Commit

Permalink
chore: Change image based on event (#1678)
Browse files Browse the repository at this point in the history
  • Loading branch information
k15r authored Dec 13, 2024
1 parent 9eb53a2 commit 57c64ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pr-integration.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: PR Integration

env:
IMG: europe-docker.pkg.dev/kyma-project/dev/telemetry-manager:PR-${{ github.event.number }}
# add the tag PR-<number> to the image if it is a PR, if the trigger is merge_group, then add the sha as the tag
IMG: europe-docker.pkg.dev/kyma-project/dev/telemetry-manager:${{ github.event_name == 'pull_request' && 'PR-' || '' }}${{ github.event.number || github.event.merge_group.head_sha }}

on:
merge_group:
Expand Down

0 comments on commit 57c64ec

Please sign in to comment.