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: |
|
run: |
|
||||||
if skopeo inspect docker://${REGISTRY}/${IMAGE_NAME}:${{ steps.version.outputs.value }}; then
|
if skopeo inspect docker://${REGISTRY}/${IMAGE_NAME}:${{ steps.version.outputs.value }}; then
|
||||||
echo ":green_square: We are up to date!" >> ${GITHUB_STEP_SUMMARY}
|
echo ":green_square: We are up to date!" >> ${GITHUB_STEP_SUMMARY}
|
||||||
echo "needs_update=false"
|
echo "needs_update=false" >> ${GITHUB_OUTPUT}
|
||||||
else
|
else
|
||||||
echo ":red_square: **Update required!**" >> ${GITHUB_STEP_SUMMARY}
|
echo ":red_square: **Update required!**" >> ${GITHUB_STEP_SUMMARY}
|
||||||
echo "needs_update=true"
|
echo "needs_update=true" >> ${GITHUB_OUTPUT}
|
||||||
fi
|
fi
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
if: ${{ steps.tag_check.outputs.needs_update == 'true' }}
|
if: ${{ steps.tag_check.outputs.needs_update == 'true' }}
|
||||||
|
|
Loading…
Reference in a new issue