Skip to content

Commit 2a18ad0

Browse files
committed
ci: update workflow-template
Enable kaniko snapshot mode Use `--snapshot-mode=redo` to ensure kaniko rebuilds the image every time the workflow runs.
1 parent b5e42ed commit 2a18ad0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chart/templates/app/ci/workflow-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ spec:
102102
- "--dockerfile=/workspace/source/Dockerfile"
103103
- "--cache=true"
104104
- "--cache-dir=/workspace/cache"
105-
# - "--snapshot-mode=redo"
105+
- "--snapshot-mode=redo"
106106
- "--cleanup"
107107
- "--destination=harbor.injunweb.com/injunweb/{{ $.Values.project }}-{{ $app.name }}:{{`{{inputs.parameters.sha}}`}}"
108108
- "--destination=harbor.injunweb.com/injunweb/{{ $.Values.project }}-{{ $app.name }}:latest"

0 commit comments

Comments
 (0)