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