Skip to content

Commit

Permalink
output image tag for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
v9n committed Jul 14, 2024
1 parent b6a43dd commit e157aa1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ jobs:
run: |
if [ "${{ github.event_name }}" != "pull_request" ]; then
echo "DEPLOY=1" >> "$GITHUB_OUTPUT"
echo $DOCKER_METADATA_OUTPUT_TAGS | tail -n 1
echo "IMAGE_TAG=$(echo $DOCKER_METADATA_OUTPUT_TAGS | awk '{print $NF}')" >> "$GITHUB_OUTPUT"
echo $DOCKER_METADATA_OUTPUT_TAGS | awk '{print $NF}'
fi
deploy:
Expand Down

0 comments on commit e157aa1

Please sign in to comment.