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 766d787 commit 9cc6130
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,16 @@ jobs:
flavor: |
latest=${{ github.ref == 'refs/heads/main' }}
- id: set-env-push
run: |
echo PUSH=$([[ `echo $GITHUB.REF | cut -d/ -f2` != 'pull' && ]] && echo "true" || echo "false") >> $GITHUB_ENV
- run: echo ${{ env.PUSH }}
- run: echo ${{ env.PUSH == 'true' }}
- run: echo ${{ github.ref == 'refs/heads/main' }}
#- id: set-env-push
# run: |
# echo PUSH=$([[ `echo $GITHUB.REF | cut -d/ -f2` != 'pull' && ]] && echo "true" || echo "false") >> $GITHUB_ENV
#- run: echo ${{ env.PUSH }}
#- run: echo ${{ env.PUSH == 'true' }}
#- run: echo ${{ github.ref == 'refs/heads/main' }}
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
if: github.event_name != 'pull_request'
#if: github.event_name != 'pull_request'
id: build-and-push
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0
with:
Expand Down

0 comments on commit 9cc6130

Please sign in to comment.