Skip to content

Commit

Permalink
Merge pull request #39 from ylavoie/push-on-merge-only
Browse files Browse the repository at this point in the history
Push to registry only on merge
  • Loading branch information
ehuelsmann authored Oct 29, 2023
2 parents b425720 + 21ae90f commit 561c29d
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: true
push: ${{ github.event.pull_request.merged == true }}
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: true
push: ${{ github.event.pull_request.merged == true }}
tags: ghcr.io/${{github.repository_owner}}/ledgersmb_circleci-postgres:${{ matrix.version }}
build-args: |
version=${{ matrix.version }}
Expand Down

0 comments on commit 561c29d

Please # to comment.