From 38a2d15c751ce63f66389e3d4c7790e702f82973 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Wed, 20 Sep 2023 08:39:53 -0400 Subject: [PATCH] Login to registry.redhat.io for bundle builds Fix to allow the github workflow for bundles to login to the redhat registry. This is required in order to obtain the correct SHA265 info for containers used from there --- .../workflows/build-openstack-baremetal-operator.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-openstack-baremetal-operator.yaml b/.github/workflows/build-openstack-baremetal-operator.yaml index bb16a7b..4ee4623 100644 --- a/.github/workflows/build-openstack-baremetal-operator.yaml +++ b/.github/workflows/build-openstack-baremetal-operator.yaml @@ -100,6 +100,13 @@ jobs: username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_PASSWORD }} + - name: Log in to Red Hat Registry + uses: redhat-actions/podman-login@v1 + with: + registry: ${{ env.imageregistry }} + username: ${{ secrets.REDHATIO_USERNAME }} + password: ${{ secrets.REDHATIO_PASSWORD }} + - name: Create bundle image run: | pushd "${GITHUB_WORKSPACE}"/.github/ @@ -163,7 +170,7 @@ jobs: source: github opm: 'latest' - - name: Log in to Red Hat Registry + - name: Log in to Quay Registry uses: redhat-actions/podman-login@v1 with: registry: ${{ env.imageregistry }}