Skip to content

Commit

Permalink
Merge pull request #42 from ylavoie/push-on-merge-only2
Browse files Browse the repository at this point in the history
Push onto registry if pull request is merged into master
  • Loading branch information
ylavoie authored Oct 30, 2023
2 parents 2453a37 + 3b3d9e3 commit f2eb3df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
push: ${{ github.event.pull_request.merged == true }}
push: ${{ github.event_name == 'pull_request' && github.event.action == 'closed' }}
tags: ghcr.io/${{github.repository_owner}}/ledgersmb_circleci-perl:${{ matrix.version }}
build-args: |
perl=${{ matrix.version }}
Expand All @@ -52,7 +52,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
push: ${{ github.event.pull_request.merged == true }}
push: ${{ github.event_name == 'pull_request' && github.event.action == 'closed' }}
tags: ghcr.io/${{github.repository_owner}}/ledgersmb_circleci-postgres:${{ matrix.version }}
build-args: |
version=${{ matrix.version }}
Expand Down

0 comments on commit f2eb3df

Please sign in to comment.