From c76342a252cdc1e53cb54b680c3a49eafc7f207b Mon Sep 17 00:00:00 2001 From: Victoria Nadasdi Date: Mon, 6 May 2024 20:10:58 +0200 Subject: [PATCH] oops that should be an output variable Signed-off-by: Victoria Nadasdi --- .github/workflows/build-and-publish.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-publish.yaml b/.github/workflows/build-and-publish.yaml index 0031f60..5610358 100644 --- a/.github/workflows/build-and-publish.yaml +++ b/.github/workflows/build-and-publish.yaml @@ -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' }}