Skip to content

Commit

Permalink
CI Builder utility: login inside the job instead of before
Browse files Browse the repository at this point in the history
Signed-off-by: gabriel-farache <[email protected]>
  • Loading branch information
gabriel-farache committed Aug 12, 2024
1 parent 513518c commit 23fe0b5
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/builder-utility.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ jobs:

- uses: actions/checkout@v4

- name: Log in to Red Hat Registry
uses: redhat-actions/podman-login@v1
with:
registry: registry.redhat.io
username: ${{ secrets.REGISTRY_REDHAT_IO_USER }}
password: ${{ secrets.REGISTRY_REDHAT_IO_PASSWORD }}

- name: Buildah Action - build builder utility image
id: build-image
uses: redhat-actions/buildah-build@v2
Expand All @@ -48,4 +41,6 @@ jobs:
with:
image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }}
registry: quay.io/orchestrator
registry: quay.io/orchestrator
username: ${{ secrets.NEW_QUAY_USERNAME }}
password: ${{ secrets.NEW_QUAY_PASSWORD }}

0 comments on commit 23fe0b5

Please sign in to comment.