oops that should be an output variable

Signed-off-by: Victoria Nadasdi <victoria@efertone.me>
This commit is contained in:
Victoria Nadasdi 2024-05-06 20:10:58 +02:00
parent 9d5d61f293
commit c76342a252
No known key found for this signature in database
GPG key ID: 58E2D23885002DC5

View file

@ -44,10 +44,10 @@ jobs:
run: |
if skopeo inspect docker://${REGISTRY}/${IMAGE_NAME}:${{ steps.version.outputs.value }}; then
echo ":green_square: We are up to date!" >> ${GITHUB_STEP_SUMMARY}
echo "needs_update=false"
echo "needs_update=false" >> ${GITHUB_OUTPUT}
else
echo ":red_square: **Update required!**" >> ${GITHUB_STEP_SUMMARY}
echo "needs_update=true"
echo "needs_update=true" >> ${GITHUB_OUTPUT}
fi
- name: Checkout repository
if: ${{ steps.tag_check.outputs.needs_update == 'true' }}