diff --git a/.tekton/cache-pull-request.yaml b/.tekton/cache-pull-request.yaml index f62ba9d4e..cc5c97f57 100644 --- a/.tekton/cache-pull-request.yaml +++ b/.tekton/cache-pull-request.yaml @@ -435,7 +435,8 @@ spec: optional: true - name: netrc optional: true - taskRunTemplate: {} + taskRunTemplate: + serviceAccountName: build-pipeline-cache workspaces: - name: workspace volumeClaimTemplate: diff --git a/.tekton/cache-push.yaml b/.tekton/cache-push.yaml index dafd701c9..d7ed30a92 100644 --- a/.tekton/cache-push.yaml +++ b/.tekton/cache-push.yaml @@ -392,7 +392,8 @@ spec: - name: IMAGE value: $(tasks.build-container.results.IMAGE_URL) - name: ADDITIONAL_TAGS - value: ["latest"] + value: + - latest runAfter: - build-container taskRef: @@ -434,7 +435,8 @@ spec: optional: true - name: netrc optional: true - taskRunTemplate: {} + taskRunTemplate: + serviceAccountName: build-pipeline-cache workspaces: - name: workspace volumeClaimTemplate: