Skip to content

Commit

Permalink
Always push the container image in PRs.
Browse files Browse the repository at this point in the history
  • Loading branch information
qbarrand committed May 10, 2022
1 parent 8b691c4 commit a8cefd5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/container-image.yml
Expand Up @@ -37,12 +37,11 @@ jobs:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
if: ${{ github.event_name != 'pull_request' }}

- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit a8cefd5

Please sign in to comment.