diff --git a/scripts/build_release_images.sh b/scripts/build_release_images.sh index e2199a0c3..9e27b01d1 100755 --- a/scripts/build_release_images.sh +++ b/scripts/build_release_images.sh @@ -64,7 +64,6 @@ if [ "$USE_CACHE" -eq 1 ]; then docker buildx build \ --build-arg APP_VERSION="$VERSION" \ --cache-from "type=registry,ref=${CACHE_REGISTRY}/api-cache:${CACHE_TAG_PRIMARY},ignore-error=true" \ - --cache-to "type=registry,ref=${CACHE_REGISTRY}/api-cache:${CACHE_TAG_PRIMARY},mode=max" \ -f infra/docker/api.Dockerfile \ -t "$API_IMAGE" -t "$API_LATEST" \ --load \ @@ -124,7 +123,6 @@ if [ "$USE_CACHE" -eq 1 ]; then docker buildx build \ --build-arg APP_VERSION="$VERSION" \ --cache-from "type=registry,ref=${CACHE_REGISTRY}/worker-cache:${CACHE_TAG_PRIMARY},ignore-error=true" \ - --cache-to "type=registry,ref=${CACHE_REGISTRY}/worker-cache:${CACHE_TAG_PRIMARY},mode=max" \ -f infra/docker/worker.Dockerfile \ -t "$WORKER_IMAGE" -t "$WORKER_LATEST" \ --load \ @@ -153,7 +151,6 @@ test -f apps/web/dist/index.html if [ "$USE_CACHE" -eq 1 ]; then docker buildx build \ --cache-from "type=registry,ref=${CACHE_REGISTRY}/web-cache:${CACHE_TAG_PRIMARY},ignore-error=true" \ - --cache-to "type=registry,ref=${CACHE_REGISTRY}/web-cache:${CACHE_TAG_PRIMARY},mode=max" \ -f infra/docker/web-artifact.Dockerfile \ --build-arg "NGINX_CONF=$NGINX_CONF_FILE" \ -t "$WEB_IMAGE" \