Skip to content
Snippets Groups Projects

fix: remove --no-cache again

Merged Wouter Deconinck requested to merge re-enable-cache into master
1 file
+ 10
2
Compare changes
  • Side-by-side
  • Inline
+ 10
2
@@ -32,7 +32,7 @@ variables:
NIGHTLY_TAG: "nightly"
## Additional options for docker build (e.g. --no-cache)
BUILD_OPTIONS: "--no-cache"
BUILD_OPTIONS: ""
## Version to be set by external trigger
VERSION: ""
@@ -257,7 +257,8 @@ base:
needs:
- version
script:
- docker buildx build --push ${BUILD_OPTIONS}
- while !
docker buildx build --push ${BUILD_OPTIONS}
--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${INTERNAL_TAG}
${EXPORT_TAG:+
${CI_PUSH:+--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${EXPORT_TAG}}
@@ -271,6 +272,13 @@ base:
--provenance false
containers/debian
2>&1 | tee build.log
; do
if grep "unknown blob" build.log ; then
BUILD_OPTIONS="--no-cache ${BUILD_OPTIONS}" ;
else
exit 1 ;
fi
done
jug_dev:
Loading