Add a mount for preserving the buildkit cache mounts between builds.
This commit is contained in:
parent
a4af0cc906
commit
9027bcad76
@ -123,7 +123,7 @@ spec:
|
||||
- name: url
|
||||
value: https://code.fizz.buzz/talexander/personal_tekton_catalog.git
|
||||
- name: revision
|
||||
value: 7ee31a185243ee6da13dcd26a592c585b64c80e5
|
||||
value: ab59c05f093a0f86ced14bd153c18997b2ea269e
|
||||
- name: pathInRepo
|
||||
value: task/buildkit-rootless-daemonless/0.1/buildkit-rootless-daemonless.yaml
|
||||
params:
|
||||
@ -157,6 +157,8 @@ spec:
|
||||
workspace: git-source
|
||||
- name: dockerconfig
|
||||
workspace: docker-credentials
|
||||
- name: buildkit-cache
|
||||
workspace: buildkit-cache-workspace
|
||||
runAfter:
|
||||
- fetch-repository
|
||||
finally:
|
||||
@ -221,6 +223,7 @@ spec:
|
||||
workspaces:
|
||||
- name: git-source
|
||||
- name: docker-credentials
|
||||
- name: buildkit-cache-workspace
|
||||
workspaces:
|
||||
- name: git-source
|
||||
volumeClaimTemplate:
|
||||
@ -235,6 +238,10 @@ spec:
|
||||
- name: docker-credentials
|
||||
secret:
|
||||
secretName: harbor-plain
|
||||
- name: buildkit-cache-workspace
|
||||
persistentVolumeClaim:
|
||||
claimName: homepage-staging-buildkitd-cache
|
||||
subPath: homepage-staging-buildkitd-cache
|
||||
params:
|
||||
- name: image-name
|
||||
value: "harbor.fizz.buzz/private/homepage-staging"
|
||||
|
@ -15,6 +15,7 @@ ADD https://code.fizz.buzz/talexander/organic_ast_explorer.git /organic_ast_expl
|
||||
|
||||
FROM scratch AS organic
|
||||
ADD git@code.fizz.buzz:talexander/organic.git /organic
|
||||
RUN sleep 9999999999999
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user