Skip to content

Commit

Permalink
Revert "fix: maven-4 image is not pushed"
Browse files Browse the repository at this point in the history
This reverts commit 80e1415.
  • Loading branch information
carlossg committed May 30, 2024
1 parent ef10b55 commit 8ac57a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
if: github.event_name != 'pull_request' # TODO
with:
context: ${{ inputs.directory }}
push: ${{ (github.event_name != 'pull_request' && github.ref == 'refs/heads/main') || github.ref == 'refs/heads/maven-4' }}
push: ${{ (github.event_name != 'pull_request' && github.ref == 'refs/heads/main') || github.ref == 'refs/pull/333/merge' }}
tags: |
${{ steps.meta.outputs.tags }}
${{ steps.retrieve-tags.outputs.tags }}
Expand All @@ -113,7 +113,7 @@ jobs:
# command below.
# https://github.com/sigstore/cosign
- name: Sign the published Docker images
if: ${{ github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/maven-4') && !github.event.repository.private }}
if: ${{ github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref == 'refs/pull/333/merge') && !github.event.repository.private }}
env:
REGISTRY1: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-and-push.outputs.digest }}
REGISTRY2: ${{ env.REGISTRY2 }}/${{ env.IMAGE_NAME2 }}@${{ steps.build-and-push.outputs.digest }}
Expand Down

0 comments on commit 8ac57a8

Please sign in to comment.