Skip to content

Commit

Permalink
fix: res ws
Browse files Browse the repository at this point in the history
  • Loading branch information
srodenhuis committed Nov 7, 2024
1 parent f6d9cc4 commit c6fad42
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions charts/team-ns/templates/builds/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ metadata:
spec:
workspaces:
- name: shared-data
- name: docker-credentials
- name: git-credentials
tasks:
- name: fetch-source
taskRef:
Expand All @@ -35,6 +37,8 @@ spec:
workspaces:
- name: output
workspace: shared-data
- name: ssh-directory
workspace: git-credentials
params:
- name: url
value: {{ .mode.docker.repoUrl }}
Expand Down Expand Up @@ -69,6 +73,8 @@ spec:
workspaces:
- name: source
workspace: shared-data
- name: dockerconfig
workspace: docker-credentials
params:
- name: DOCKERFILE
value: {{ .mode.docker.path }}
Expand Down Expand Up @@ -122,6 +128,8 @@ spec:
requests:
storage: 1Gi
status: {}
- name: git-credentials
- name: docker-credentials
---
{{- else }}
apiVersion: tekton.dev/v1
Expand Down Expand Up @@ -152,6 +160,8 @@ spec:
requests:
storage: 1Gi
status: {}
- name: git-credentials
- name: docker-credentials
{{- end }}
---
{{- if .trigger }}
Expand Down

0 comments on commit c6fad42

Please sign in to comment.