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
be0fd100
Commit
be0fd100
authored
Aug 23, 2023
by
Wouter Deconinck
Browse files
Options
Downloads
Patches
Plain Diff
feat: use DOCKER_IMAGE in .build
parent
2d932786
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
+7
-2
7 additions, 2 deletions
.gitlab-ci.yml
with
7 additions
and
2 deletions
.gitlab-ci.yml
+
7
−
2
View file @
be0fd100
...
...
@@ -163,6 +163,9 @@ version:
## base job settings for all build jobs
.build
:
image
:
${DOCKER_IMAGE}
services
:
-
docker:dind
rules
:
-
when
:
on_success
resource_group
:
${CI_COMMIT_REF_NAME}-${VERSION}
...
...
@@ -172,11 +175,13 @@ version:
-
!reference
[
default
,
before_script
]
-
mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc ;
for arch in aarch64 ; do
if ! grep -
-quiet
enabled /proc/sys/fs/binfmt_misc/qemu-$arch ; then
if ! grep -
q
enabled /proc/sys/fs/binfmt_misc/qemu-$arch ; then
docker run --rm --privileged multiarch/qemu-user-static --persistent yes ;
fi ;
done
-
docker buildx create --name builder --driver docker-container --bootstrap --use
-
docker context create context
-
docker context use context
-
docker buildx create --name builder --driver docker-container --bootstrap --use context
## rules for nightly jobs
.nightly
:
...
...
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