Skip to content

Commit

Permalink
fix(pipeline): set correct image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
RouHim committed Jan 16, 2023
1 parent 610e11d commit 18b18b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ jobs:
- name: Set image tag
run: |
if [ -z "${{github.event.pull_request.number}}" ]; then
echo "IMAGE_TAG=latest"
echo "IMAGE_TAG=latest" >> $GITHUB_OUTPUT
else
echo "IMAGE_TAG=PR-${{github.event.pull_request.number}}"
echo "IMAGE_TAG=PR-${{github.event.pull_request.number}}" >> $GITHUB_OUTPUT
fi
Expand Down

0 comments on commit 18b18b0

Please sign in to comment.