Skip to content

Commit

Permalink
adjusted step if
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-z-luo committed Nov 26, 2023
1 parent 5a1d422 commit b35be0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ jobs:
echo "Image not found in ICR: ${IMAGE}"
fi
- name: Build and push?
- name: Skip build and push?
run: echo "Image is found on ICR, skipping build and push"
if: env.IMAGE_EXISTS=="true"
if: env.IMAGE_EXISTS=='true'

- name: Build and push
id: build-push
Expand All @@ -232,7 +232,7 @@ jobs:
build-args: |-
SN_GITHUB_NPM_TOKEN=${{ secrets.NPM_TOKEN }}
SN_GITHUB_NPM_REGISTRY=https://npm.pkg.github.com
if: env.IMAGE_EXISTS == "false"
if: env.IMAGE_EXISTS == 'false'

- uses: sigstore/cosign-installer@main
if: ${{ inputs.push }}
Expand Down

0 comments on commit b35be0f

Please sign in to comment.