oops that should be an output variable
Signed-off-by: Victoria Nadasdi <victoria@efertone.me>
This commit is contained in:
parent
9d5d61f293
commit
c76342a252
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build-and-publish.yaml
vendored
4
.github/workflows/build-and-publish.yaml
vendored
|
@ -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' }}
|
||||
|
|
Loading…
Reference in a new issue