diff --git a/charts/tekton-demo/Chart.yaml b/charts/tekton-demo/Chart.yaml index 6323ce2c..72cfb7bd 100644 --- a/charts/tekton-demo/Chart.yaml +++ b/charts/tekton-demo/Chart.yaml @@ -4,7 +4,7 @@ description: This is an example of a pipeline developed in Tekton, the peaceful It contains the main steps of a continuous software delivery process. It enforces a strict semantic version validation strategy, managing tag increments for you. Develop, Features, releases, patches and hotfixes flows are supported. -version: 0.0.11 +version: 0.0.12 appVersion: latest home: https://github.com/redhat-cop/helm-charts keywords: diff --git a/charts/tekton-demo/templates/tasks/task-build.yaml b/charts/tekton-demo/templates/tasks/task-build.yaml index 249e7d02..ebf86e66 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:3c2ea396a114221575a4031d90d28c43563f7b96288374e0ba8b22de3ed97b5a + image: registry.redhat.io/rhel8/buildah@sha256:a70cfab267df59020cc6a6cea6a4661db65240e2e919f61bed54e2aa87a9bbf0 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:3c2ea396a114221575a4031d90d28c43563f7b96288374e0ba8b22de3ed97b5a + image: registry.redhat.io/rhel8/buildah@sha256:a70cfab267df59020cc6a6cea6a4661db65240e2e919f61bed54e2aa87a9bbf0 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 33bad1a0..473bd6c8 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:3c2ea396a114221575a4031d90d28c43563f7b96288374e0ba8b22de3ed97b5a + image: registry.redhat.io/rhel8/buildah@sha256:a70cfab267df59020cc6a6cea6a4661db65240e2e919f61bed54e2aa87a9bbf0 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:3c2ea396a114221575a4031d90d28c43563f7b96288374e0ba8b22de3ed97b5a + image: registry.redhat.io/rhel8/buildah@sha256:a70cfab267df59020cc6a6cea6a4661db65240e2e919f61bed54e2aa87a9bbf0 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:3c2ea396a114221575a4031d90d28c43563f7b96288374e0ba8b22de3ed97b5a + image: registry.redhat.io/rhel8/buildah@sha256:a70cfab267df59020cc6a6cea6a4661db65240e2e919f61bed54e2aa87a9bbf0 script: | #!/bin/sh printf %s "null" >> /tekton/results/digest