Skip to content

Commit

Permalink
test docker push
Browse files Browse the repository at this point in the history
  • Loading branch information
gionn committed Mar 27, 2024
1 parent 4ffc8b9 commit c2a547c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
password: ${{ secrets.QUAY_PASSWORD }}

- name: Login to docker.io
if: github.ref_name == 'master'
if: github.ref_name != 'master'
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
target: JAVA_BASE_IMAGE

- name: Push Image to docker.io
if: github.ref_name == 'master'
if: github.ref_name != 'master'
env:
SRC_IMAGE: quay.io/${{ env.IMAGE_REGISTRY_NAMESPACE }}/${{ env.IMAGE_REPOSITORY }}:${{ steps.vars.outputs.image_tag }}
DST_IMAGE: ${{ env.IMAGE_REGISTRY_NAMESPACE }}/${{ env.IMAGE_REPOSITORY }}:${{ steps.vars.outputs.image_tag }}
Expand Down

0 comments on commit c2a547c

Please sign in to comment.