From e75f25711fa48aca98e88015837c89062a94fe79 Mon Sep 17 00:00:00 2001 From: Adrian Riobo Lorenzo Date: Fri, 2 Aug 2024 07:02:47 +0200 Subject: [PATCH] fix: remove duplicate steps on pusher flows Signed-off-by: Adrian Riobo Lorenzo --- .github/workflows/crc-builder-pusher.yml | 8 -------- .github/workflows/snc-runner-pusher.yml | 10 +--------- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/.github/workflows/crc-builder-pusher.yml b/.github/workflows/crc-builder-pusher.yml index acfc648..ec70d3a 100644 --- a/.github/workflows/crc-builder-pusher.yml +++ b/.github/workflows/crc-builder-pusher.yml @@ -26,14 +26,6 @@ jobs: echo "source_event=$(cat crc-builder-build-event)" >> "$GITHUB_ENV" echo "image=$(cat crc-builder-image)" >> "$GITHUB_ENV" - - name: Log in to ghcr.io for PR - if: ${{ env.source_event == 'pull_request' }} - uses: redhat-actions/podman-login@v1 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - name: Log in to ghcr.io if: ${{ env.source_event == 'pull_request' }} uses: redhat-actions/podman-login@v1 diff --git a/.github/workflows/snc-runner-pusher.yml b/.github/workflows/snc-runner-pusher.yml index 43bf1d6..dca04e7 100644 --- a/.github/workflows/snc-runner-pusher.yml +++ b/.github/workflows/snc-runner-pusher.yml @@ -35,15 +35,7 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Log in to ghcr.io - if: ${{ env.source_event == 'push' }} - uses: redhat-actions/podman-login@v1 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Loginquay.io + - name: Log in to quay.io if: ${{ env.source_event == 'push' }} uses: redhat-actions/podman-login@v1 with: