Skip to content

Commit d5a0889

Browse files
Steve RamageSJrX
authored andcommitted
Upgrade Kaniko and enable caching
1 parent ebf16cf commit d5a0889

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ci/release.Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ spec:
3333
if (kanikoEnabled) {
3434
yaml += """
3535
- name: kaniko
36-
image: gcr.io/kaniko-project/executor:v1.8.1-debug
36+
image: gcr.io/kaniko-project/executor:v1.22.0-debug
3737
imagePullPolicy: Always
3838
command:
3939
- sleep
@@ -179,7 +179,7 @@ pipeline {
179179
steps {
180180
container('kaniko') {
181181
sh """
182-
/kaniko/executor --force -f `pwd`/systemd-build/Ubuntu-Units.Dockerfile -c `pwd`/systemd-build/ --cache=true --compressed-caching=false --destination=${env.DOCKER_REGISTRY_PREFIX}/systemd-plugin-ubuntu-image:$ubuntuUnitsHash
182+
/kaniko/executor --force -f `pwd`/systemd-build/Ubuntu-Units.Dockerfile -c `pwd`/systemd-build/ --cache=true --compressed-caching=false --destination=${env.DOCKER_REGISTRY_PREFIX}/systemd-plugin-ubuntu-image:$ubuntuUnitsHash --cache-copy-layers
183183
"""
184184
}
185185
}
@@ -208,7 +208,7 @@ pipeline {
208208
steps {
209209
container('kaniko') {
210210
sh """
211-
/kaniko/executor --force -f `pwd`/systemd-build/Systemd-Builder.Dockerfile -c `pwd`/systemd-build/ --cache=true --compressed-caching=false --destination=${env.DOCKER_REGISTRY_PREFIX}/systemd-plugin-systemd-builder-image:$systemdBuilderHash
211+
/kaniko/executor --force -f `pwd`/systemd-build/Systemd-Builder.Dockerfile -c `pwd`/systemd-build/ --cache=true --compressed-caching=false --destination=${env.DOCKER_REGISTRY_PREFIX}/systemd-plugin-systemd-builder-image:$systemdBuilderHash --cache-copy-layers
212212
"""
213213
}
214214
}

0 commit comments

Comments
 (0)