Skip to content

Commit

Permalink
Update docker-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bwbohl authored May 15, 2024
1 parent 1042dd6 commit 1e3982c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
- id: set-env-push
run: |
echo PUSH=$([[ cut -d/ -f2 $GITHUB_REF != pull ]] && echo 'true' || echo 'false' ) >> $GITHUB_ENV
echo PUSH=$([[ `echo "refs/pull/1" | cut -d/ -f2` != 'pull' ]] && echo "true" || echo "false") >> $GITHUB_ENV
- run: echo ${{ env.PUSH }}
- run: echo ${{ env.PUSH == 'true' }}
# Build and push Docker image with Buildx (don't push on PR)
Expand Down

0 comments on commit 1e3982c

Please sign in to comment.