diff --git a/charts/tekton-demo/templates/tasks/task-build.yaml b/charts/tekton-demo/templates/tasks/task-build.yaml index a56812f6..0dc2b794 100644 --- a/charts/tekton-demo/templates/tasks/task-build.yaml +++ b/charts/tekton-demo/templates/tasks/task-build.yaml @@ -38,7 +38,7 @@ spec: steps: - name: image-build - image: registry.redhat.io/rhel8/buildah@sha256:de42c2158dceaa97f70cd6ce92cd7087538c5d2caad29da4b8ca34a0e8b041a0 + image: registry.redhat.io/rhel8/buildah@sha256:1674c155e63cfdf945f1ae9a70218ae94ae2245962998627141bbaf73edbf2c7 workingDir: /workspace/source/{{ .Values.pipeline.build.s2i.context }} command: ['buildah', 'bud', '--tls-verify=$(inputs.params.TLSVERIFY)', '--layers', '-f', 'Dockerfile', '-t', 'image-registry.openshift-image-registry.svc:5000/{{ .Values.application.environments.development }}/{{ .Values.application.name }}-development:$(inputs.params.revision-name)', '.'] resources: {} @@ -51,7 +51,7 @@ spec: privileged: true - name: image-push - image: registry.redhat.io/rhel8/buildah@sha256:de42c2158dceaa97f70cd6ce92cd7087538c5d2caad29da4b8ca34a0e8b041a0 + image: registry.redhat.io/rhel8/buildah@sha256:1674c155e63cfdf945f1ae9a70218ae94ae2245962998627141bbaf73edbf2c7 command: ['buildah', 'push', '--tls-verify=$(inputs.params.TLSVERIFY)', '--digestfile', '$(workspaces.source.path)/image-digest', 'image-registry.openshift-image-registry.svc:5000/{{ .Values.application.environments.development }}/{{ .Values.application.name }}-development:$(inputs.params.revision-name)', 'docker://image-registry.openshift-image-registry.svc:5000/{{ .Values.application.environments.development }}/{{ .Values.application.name }}-development:$(inputs.params.revision-name)'] volumeMounts: - name: varlibcontainers diff --git a/charts/tekton-demo/templates/tasks/task-docs.yaml b/charts/tekton-demo/templates/tasks/task-docs.yaml index a18a9d62..1fcbf6c1 100644 --- a/charts/tekton-demo/templates/tasks/task-docs.yaml +++ b/charts/tekton-demo/templates/tasks/task-docs.yaml @@ -44,7 +44,7 @@ spec: steps: - name: image-build - image: registry.redhat.io/rhel8/buildah@sha256:de42c2158dceaa97f70cd6ce92cd7087538c5d2caad29da4b8ca34a0e8b041a0 + image: registry.redhat.io/rhel8/buildah@sha256:1674c155e63cfdf945f1ae9a70218ae94ae2245962998627141bbaf73edbf2c7 workingDir: /workspace/source/{{ .Values.pipeline.build.s2i.context }}/docs resources: {} script: | @@ -61,7 +61,7 @@ spec: privileged: true - name: image-push - image: registry.redhat.io/rhel8/buildah@sha256:de42c2158dceaa97f70cd6ce92cd7087538c5d2caad29da4b8ca34a0e8b041a0 + image: registry.redhat.io/rhel8/buildah@sha256:1674c155e63cfdf945f1ae9a70218ae94ae2245962998627141bbaf73edbf2c7 script: | #!/bin/sh if [ "$(inputs.params.revision-type)" == "develop" ]; then @@ -75,7 +75,7 @@ spec: privileged: true - name: image-digest - image: registry.redhat.io/rhel8/buildah@sha256:de42c2158dceaa97f70cd6ce92cd7087538c5d2caad29da4b8ca34a0e8b041a0 + image: registry.redhat.io/rhel8/buildah@sha256:1674c155e63cfdf945f1ae9a70218ae94ae2245962998627141bbaf73edbf2c7 script: | #!/bin/sh printf %s "null" >> /tekton/results/digest