Skip to content

Commit 74ca7b0

Browse files
committed
Add registry.redhat.io login to GH workflow
The bundle generation step resolves image tags to digests, which requires pulling from registry.redhat.io (for the PostgreSQL image). Add authentication so the CI runner can access the Red Hat registry.
1 parent 2b255f2 commit 74ca7b0

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/build-and-push.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@ jobs:
6868
username: ${{ secrets.QUAY_USERNAME }}
6969
password: ${{ secrets.QUAY_PASSWORD }}
7070

71+
- name: Log in to Red Hat Registry
72+
uses: docker/login-action@v4
73+
with:
74+
registry: registry.redhat.io
75+
username: ${{ secrets.REDHAT_REGISTRY_USERNAME }}
76+
password: ${{ secrets.REDHAT_REGISTRY_PASSWORD }}
77+
7178
- name: Build operator image
7279
run: |
7380
make docker-build IMG=$OPERATOR_IMAGE

0 commit comments

Comments
 (0)