Skip to content

Commit

Permalink
update base image and unit test image
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonPowr committed Nov 28, 2024
1 parent ee4544e commit 9ed9474
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
10 changes: 9 additions & 1 deletion .tekton/fulcio-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,15 @@ spec:
- name: build-source-image
value: "true"
- name: go_unit_test
value: false # Until we can get a go image >= 1.23.0
value: true
- name: go_base_image
value: brew.registry.redhat.io/rh-osbs/openshift-golang-builder@sha256:356986205e66dcc03ef9a9fef5a7a13d6d59c29efacf1d971f9224c678932cf0
taskRunSpecs:
- pipelineTaskName: run-unit-test
serviceAccountName: appstudio-pipeline
podTemplate:
imagePullSecrets:
- name: brew-registry-pull-secret
pipelineRef:
resolver: git
params:
Expand Down
10 changes: 9 additions & 1 deletion .tekton/fulcio-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,15 @@ spec:
- name: build-source-image
value: "true"
- name: go_unit_test
value: false # Until we can get a go image >= 1.23.0
value: true
- name: go_base_image
value: brew.registry.redhat.io/rh-osbs/openshift-golang-builder@sha256:356986205e66dcc03ef9a9fef5a7a13d6d59c29efacf1d971f9224c678932cf0
taskRunSpecs:
- pipelineTaskName: run-unit-test
serviceAccountName: appstudio-pipeline
podTemplate:
imagePullSecrets:
- name: brew-registry-pull-secret
pipelineRef:
resolver: git
params:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.fulcio-server.rh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.21@sha256:98a0ff138c536eee98704d6909699ad5d0725a20573e2c510a60ef462b45cce0 AS builder
FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder@sha256:356986205e66dcc03ef9a9fef5a7a13d6d59c29efacf1d971f9224c678932cf0 AS builder
ENV APP_ROOT=/opt/app-root
ENV GOPATH=$APP_ROOT

Expand All @@ -26,7 +26,7 @@ RUN go mod download && \
go build -mod=readonly -o server main.go

# Multi-Stage production build
FROM registry.access.redhat.com/ubi9/go-toolset@sha256:c7bfd2501cb1be171366434a368db669b32f08a0198c1473b9bff0a379613fc3 as deploy
FROM registry.access.redhat.com/ubi9-minimal@sha256:8b6978d555746877c73f52375f60fd7b6fd27d6aca000eaed27d0995303c13de as deploy

LABEL description="Fulcio is a free-to-use certificate authority for issuing code signing certificates for an OpenID Connect (OIDC) identity, such as email address."
LABEL io.k8s.description="Fulcio is a free-to-use certificate authority for issuing code signing certificates for an OpenID Connect (OIDC) identity, such as email address."
Expand Down

0 comments on commit 9ed9474

Please sign in to comment.