Skip to content

Commit

Permalink
Revert "chore(publish-alwatr-container.yml): publish every pr"
Browse files Browse the repository at this point in the history
This reverts commit 383b1a4.
  • Loading branch information
AliMD committed Dec 12, 2022
1 parent 2c5be6d commit 30abc4e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish-alwatr-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
uses: docker/setup-buildx-action@v2

- name: 🏗 Log into registry ${{ env.REGISTRY }}
# if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
Expand Down Expand Up @@ -108,8 +108,7 @@ jobs:
id: build-and-push
uses: docker/build-push-action@v3
with:
push: true
# push: ${{ github.event_name != 'pull_request' }}
push: ${{ github.event_name != 'pull_request' }}
github-token: ${{ secrets.GITHUB_TOKEN }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit 30abc4e

Please sign in to comment.