This commit is contained in:
Alejandro Cabeza Romero 2024-08-22 16:17:31 +02:00
parent 7ff157814e
commit b5741caa31
No known key found for this signature in database
GPG Key ID: DA3D14AE478030FD
1 changed files with 2 additions and 2 deletions

View File

@ -2,11 +2,11 @@
CACHING_OPTIONS=""
# If in CI and we have a defined cache bucket, use caching
if [[ -n "${CI}" ]] && [[ -n "${AWS_BUCKET}" ]]; then
# if [[ -n "${CI}" ]] && [[ -n "${AWS_BUCKET}" ]]; then
# CACHING_OPTIONS="\
# --cache-to type=s3,mode=max,bucket=$AWS_BUCKET,region=$AWS_REGION,prefix=buildCache,name=$IMAGE_NAME \
# --cache-from type=s3,mode=max,bucket=$AWS_BUCKET,region=$AWS_REGION,prefix=buildCache,name=$IMAGE_NAME"
fi
# fi
CACHING_OPTIONS="\
--cache-to type=gha,mode=max \