Changed cache mode to 'max'
This commit is contained in:
1 parent
5a3d0df074
commit
de51c65c47
1 file changed
+2
-2
+2
-2
@@ -18,7 +18,7 @@ then
|
||||
-t $CI_REGISTRY_IMAGE:$UBUNTU_VER \
|
||||
--platform $PLATFORMS \
|
||||
--cache-from type=registry,ref=$CI_REGISTRY_IMAGE/ubuntu-$UBUNTU_VER:cache \
|
||||
--cache-to type=registry,ref=$CI_REGISTRY_IMAGE/ubuntu-$UBUNTU_VER:cache \
|
||||
--cache-to type=registry,ref=$CI_REGISTRY_IMAGE/ubuntu-$UBUNTU_VER:cache,mode=max \
|
||||
--push --provenance false
|
||||
else
|
||||
docker buildx build . \
|
||||
@@ -30,7 +30,7 @@ else
|
||||
-t $CI_REGISTRY_IMAGE:latest \
|
||||
--platform $PLATFORMS \
|
||||
--cache-from type=registry,ref=$CI_REGISTRY_IMAGE/ubuntu-$UBUNTU_VER:cache \
|
||||
--cache-to type=registry,ref=$CI_REGISTRY_IMAGE/ubuntu-$UBUNTU_VER:cache \
|
||||
--cache-to type=registry,ref=$CI_REGISTRY_IMAGE/ubuntu-$UBUNTU_VER:cache,mode=max \
|
||||
--push --provenance false
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user