From c0582e6f6d2d29a7d67d84b23f96b5af8d636bbd Mon Sep 17 00:00:00 2001 From: Salah Aldeen Al Saleh Date: Mon, 11 Dec 2023 15:36:07 +0000 Subject: [PATCH] fix image-exists github output --- .github/actions/build-push-image-with-apko/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/build-push-image-with-apko/action.yml b/.github/actions/build-push-image-with-apko/action.yml index adfe9a5428..38cc422a69 100644 --- a/.github/actions/build-push-image-with-apko/action.yml +++ b/.github/actions/build-push-image-with-apko/action.yml @@ -27,9 +27,9 @@ runs: run: | set -euo pipefail if docker manifest inspect ${{ inputs.image-name }} > /dev/null 2>&1; then - echo "image-exists=true" >> $GITHUB_ENV + echo "image-exists='true'" >> "$GITHUB_ENV" else - echo "image-exists=false" >> $GITHUB_ENV + echo "image-exists='false'" >> "$GITHUB_ENV" fi - uses: chainguard-images/actions/apko-publish@main