Skip to content

Commit

Permalink
👷 Use if clause, not false, so step is not considered failed
Browse files Browse the repository at this point in the history
  • Loading branch information
acco committed Dec 10, 2024
1 parent 778d222 commit 7762cbf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ jobs:
sequin/sequin:${{ inputs.version }}-amd64 \
sequin/sequin:${{ inputs.version }}-arm64
${{ inputs.tag_as_latest == 'true' }} && docker buildx imagetools create -t sequin/sequin:latest \
sequin/sequin:${{ inputs.version }}-amd64 \
sequin/sequin:${{ inputs.version }}-arm64
if [[ "${{ inputs.tag_as_latest }}" == "true" ]]; then
docker buildx imagetools create -t sequin/sequin:latest \
sequin/sequin:${{ inputs.version }}-amd64 \
sequin/sequin:${{ inputs.version }}-arm64
fi

0 comments on commit 7762cbf

Please sign in to comment.