Skip to content

Commit

Permalink
🌱 Konflux: Remove container-registry-secret (#53)
Browse files Browse the repository at this point in the history
* Remove container-registry-secret

Signed-off-by: zhujian <[email protected]>

* go mod tidy before build binaries

Signed-off-by: zhujian <[email protected]>

* remove workspace for deprecated-base-image-check

Signed-off-by: zhujian <[email protected]>

---------

Signed-off-by: zhujian <[email protected]>
  • Loading branch information
zhujian7 authored Mar 4, 2024
1 parent fd8d6e7 commit 2da830f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 22 deletions.
11 changes: 0 additions & 11 deletions .tekton/managed-serviceaccount-zbkr-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,6 @@ spec:
value: $(params.dockerfile)
- name: CONTEXT
value: $(params.path-context)
- name: DOCKER_AUTH
value: $(tasks.init.results.container-registry-secret)
- name: HERMETIC
value: $(params.hermetic)
- name: PREFETCH_INPUT
Expand All @@ -204,8 +202,6 @@ spec:
value: $(tasks.build-container.results.IMAGE_URL)
- name: IMAGE_DIGEST
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: DOCKER_AUTH
value: $(tasks.init.results.container-registry-secret)
runAfter:
- build-container
taskRef:
Expand Down Expand Up @@ -262,17 +258,12 @@ spec:
operator: in
values:
- "false"
workspaces:
- name: test-ws
workspace: workspace
- name: clair-scan
params:
- name: image-digest
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-container.results.IMAGE_URL)
- name: docker-auth
value: $(tasks.init.results.container-registry-secret)
runAfter:
- build-container
taskRef:
Expand Down Expand Up @@ -310,8 +301,6 @@ spec:
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-container.results.IMAGE_URL)
- name: docker-auth
value: $(tasks.init.results.container-registry-secret)
runAfter:
- build-container
taskRef:
Expand Down
11 changes: 0 additions & 11 deletions .tekton/managed-serviceaccount-zbkr-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ spec:
value: $(params.dockerfile)
- name: CONTEXT
value: $(params.path-context)
- name: DOCKER_AUTH
value: $(tasks.init.results.container-registry-secret)
- name: HERMETIC
value: $(params.hermetic)
- name: PREFETCH_INPUT
Expand All @@ -201,8 +199,6 @@ spec:
value: $(tasks.build-container.results.IMAGE_URL)
- name: IMAGE_DIGEST
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: DOCKER_AUTH
value: $(tasks.init.results.container-registry-secret)
runAfter:
- build-container
taskRef:
Expand Down Expand Up @@ -259,17 +255,12 @@ spec:
operator: in
values:
- "false"
workspaces:
- name: test-ws
workspace: workspace
- name: clair-scan
params:
- name: image-digest
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-container.results.IMAGE_URL)
- name: docker-auth
value: $(tasks.init.results.container-registry-secret)
runAfter:
- build-container
taskRef:
Expand Down Expand Up @@ -307,8 +298,6 @@ spec:
value: $(tasks.build-container.results.IMAGE_DIGEST)
- name: image-url
value: $(tasks.build-container.results.IMAGE_URL)
- name: docker-auth
value: $(tasks.init.results.container-registry-secret)
runAfter:
- build-container
taskRef:
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.rhtap
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_1.20 AS bui
WORKDIR /go/src/github.com/open-cluster-management.io/managed-serviceaccount
COPY . .
RUN go env
RUN go mod tidy && go mod vendor
RUN make build-manager
RUN make build-agent

Expand Down

0 comments on commit 2da830f

Please sign in to comment.