mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-01-18 02:39:30 +00:00
ci: flatten images for internal consumption
There is no need to re-use different layers with the images that are built. The separation of the layers causes more time to be used while pulling the images, so flattening makes speeds up the CI jobs a little (about 30 seconds from 2+ minutes). Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
9c4009bd14
commit
45130996a0
@ -17,6 +17,7 @@ spec:
|
||||
strategy:
|
||||
dockerStrategy:
|
||||
dockerfilePath: deploy/cephcsi/image/Dockerfile
|
||||
imageOptimizationPolicy: SkipLayers
|
||||
output:
|
||||
to:
|
||||
kind: DockerImage
|
||||
@ -42,6 +43,7 @@ spec:
|
||||
strategy:
|
||||
dockerStrategy:
|
||||
dockerfilePath: scripts/Dockerfile.test
|
||||
imageOptimizationPolicy: SkipLayers
|
||||
output:
|
||||
to:
|
||||
kind: DockerImage
|
||||
@ -67,6 +69,7 @@ spec:
|
||||
strategy:
|
||||
dockerStrategy:
|
||||
dockerfilePath: scripts/Dockerfile.devel
|
||||
imageOptimizationPolicy: SkipLayers
|
||||
output:
|
||||
to:
|
||||
kind: DockerImage
|
||||
|
Loading…
Reference in New Issue
Block a user