Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eic_container
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
containers
eic_container
Commits
3d0ef2c8
Commit
3d0ef2c8
authored
May 16, 2024
by
Wouter Deconinck
Browse files
Options
Downloads
Patches
Plain Diff
fix: remove --no-cache again
parent
091b1d14
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+10
-2
10 additions, 2 deletions
.gitlab-ci.yml
with
10 additions
and
2 deletions
.gitlab-ci.yml
+
10
−
2
View file @
3d0ef2c8
...
@@ -32,7 +32,7 @@ variables:
...
@@ -32,7 +32,7 @@ variables:
NIGHTLY_TAG
:
"
nightly"
NIGHTLY_TAG
:
"
nightly"
## Additional options for docker build (e.g. --no-cache)
## Additional options for docker build (e.g. --no-cache)
BUILD_OPTIONS
:
"
--no-cache
"
BUILD_OPTIONS
:
"
"
## Version to be set by external trigger
## Version to be set by external trigger
VERSION
:
"
"
VERSION
:
"
"
...
@@ -257,7 +257,8 @@ base:
...
@@ -257,7 +257,8 @@ base:
needs
:
needs
:
-
version
-
version
script
:
script
:
-
docker buildx build --push ${BUILD_OPTIONS}
-
while !
docker buildx build --push ${BUILD_OPTIONS}
--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${INTERNAL_TAG}
--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${INTERNAL_TAG}
${EXPORT_TAG:+
${EXPORT_TAG:+
${CI_PUSH:+--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${EXPORT_TAG}}
${CI_PUSH:+--tag ${CI_REGISTRY}/${CI_PROJECT_PATH}/${BUILD_IMAGE}:${EXPORT_TAG}}
...
@@ -271,6 +272,13 @@ base:
...
@@ -271,6 +272,13 @@ base:
--provenance
false
--provenance
false
containers/debian
containers/debian
2>&1 | tee build.log
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
:
jug_dev
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment