diff --git a/.tekton/managed-serviceaccount-zbkr-pull-request.yaml b/.tekton/managed-serviceaccount-zbkr-pull-request.yaml index 5433747..e7bebb6 100644 --- a/.tekton/managed-serviceaccount-zbkr-pull-request.yaml +++ b/.tekton/managed-serviceaccount-zbkr-pull-request.yaml @@ -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 @@ -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: @@ -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: @@ -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: diff --git a/.tekton/managed-serviceaccount-zbkr-push.yaml b/.tekton/managed-serviceaccount-zbkr-push.yaml index 67bffdb..098c36d 100644 --- a/.tekton/managed-serviceaccount-zbkr-push.yaml +++ b/.tekton/managed-serviceaccount-zbkr-push.yaml @@ -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 @@ -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: @@ -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: @@ -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: diff --git a/Dockerfile.rhtap b/Dockerfile.rhtap index e16fc87..44cb03d 100644 --- a/Dockerfile.rhtap +++ b/Dockerfile.rhtap @@ -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