Skip to content

Commit be42693

Browse files
KPostOfficeopenshift-merge-robot
authored andcommitted
use unauthenticated red hat registry for Docker file
this makes the images easier to build for those outside of the red hat organization Signed-off-by: Kevin <[email protected]>
1 parent f228dba commit be42693

File tree

3 files changed

+1
-15
lines changed

3 files changed

+1
-15
lines changed

Diff for: .github/workflows/operator-image.yml

-7
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@ jobs:
3131
password: ${{ secrets.QUAY_TOKEN }}
3232
registry: quay.io
3333

34-
- name: Login to Red Hat Registry
35-
uses: redhat-actions/podman-login@v1
36-
with:
37-
username: ${{ secrets.RH_REG_ID }}
38-
password: ${{ secrets.RH_REG_TOKEN }}
39-
registry: registry.redhat.io
40-
4134
- name: Image Build
4235
run: |
4336
make build

Diff for: .github/workflows/tag-and-build.yml

-7
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,6 @@ jobs:
4646
password: ${{ secrets.QUAY_TOKEN }}
4747
registry: quay.io
4848

49-
- name: Login to Red Hat Registry
50-
uses: redhat-actions/podman-login@v1
51-
with:
52-
username: ${{ secrets.RH_REG_ID }}
53-
password: ${{ secrets.RH_REG_TOKEN }}
54-
registry: registry.redhat.io
55-
5649
- name: Image Build
5750
run: |
5851
make build

Diff for: Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM registry.redhat.io/ubi8/go-toolset:1.18.9-8 as builder
2+
FROM registry.access.redhat.com/ubi8/go-toolset:1.18.9-8 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

0 commit comments

Comments
 (0)