Changed cache mode to 'max'
This commit is contained in:
@@ -18,7 +18,7 @@ then
|
|||||||
-t $CI_REGISTRY_IMAGE:$UBUNTU_VER \
|
-t $CI_REGISTRY_IMAGE:$UBUNTU_VER \
|
||||||
--platform $PLATFORMS \
|
--platform $PLATFORMS \
|
||||||
--cache-from type=registry,ref=$CI_REGISTRY_IMAGE/ubuntu-$UBUNTU_VER:cache \
|
--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
|
--push --provenance false
|
||||||
else
|
else
|
||||||
docker buildx build . \
|
docker buildx build . \
|
||||||
@@ -30,7 +30,7 @@ else
|
|||||||
-t $CI_REGISTRY_IMAGE:latest \
|
-t $CI_REGISTRY_IMAGE:latest \
|
||||||
--platform $PLATFORMS \
|
--platform $PLATFORMS \
|
||||||
--cache-from type=registry,ref=$CI_REGISTRY_IMAGE/ubuntu-$UBUNTU_VER:cache \
|
--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
|
--push --provenance false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user