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 26149e8 commit c468671
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@ jobs:
- name: Set image tag
run: |
if [ -z "${{github.event.pull_request.number}}" ]; then
export IMAGE_TAG=latest
echo "IMAGE_TAG=latest" >> $GITHUB_ENV
else
export IMAGE_TAG=PR-${{github.event.pull_request.number}}
echo "IMAGE_TAG=PR-${{github.event.pull_request.number}}" >> $GITHUB_ENV
fi
echo "Image tag was set to ${{ env.IMAGE_TAG }}"
echo "Image tag was set to $IMAGE_TAG"
check-oci-config:
name: Check Containerfile
Expand Down

0 comments on commit c468671

Please sign in to comment.