Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Docker buildx qemu
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Docker
Docker buildx qemu
Commits
b5d01d7a
Verified
Commit
b5d01d7a
authored
2 years ago
by
Olivier Benz
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml
parent
5444e422
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#13907
passed
2 years ago
Stage: build1
Stage: build2
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+15
-11
15 additions, 11 deletions
.gitlab-ci.yml
with
15 additions
and
11 deletions
.gitlab-ci.yml
+
15
−
11
View file @
b5d01d7a
stages
:
-
build
-
deploy
variables
:
DOCKER_DRIVER
:
overlay2
DOCKER_TLS_CERTDIR
:
"
/certs"
...
...
@@ -27,7 +23,7 @@ variables:
-
docker context create tls-environment
-
docker buildx create --name multiarch-builder --use tls-environment
.before-script-
deploy
:
&before-script-
deploy
.before-script-
build2
:
&before-script-
build2
-
|
if [[ ! -z "$CI_BUILD_PLATFORMS" ]]; then
export OS_ARCH=`echo $CI_BUILD_PLATFORMS | tr ' ' '\n' | \
...
...
@@ -41,7 +37,7 @@ variables:
.buildx-build
:
image
:
registry.gitlab.b-data.ch/docker/docker-buildx-qemu:latest
stage
:
build
stage
:
build
1
services
:
-
docker:dind
before_script
:
...
...
@@ -50,20 +46,28 @@ variables:
.build
:
image
:
registry.gitlab.b-data.ch/docker/docker-buildx-qemu:latest
stage
:
build
stage
:
build
1
services
:
-
docker:dind
before_script
:
-
*before-script-all
.
deploy
:
.
build2
:
image
:
registry.gitlab.b-data.ch/docker/docker-buildx-qemu:latest
stage
:
deploy
stage
:
build2
services
:
-
docker:dind
before_script
:
-
*before-script-all
-
*before-script-deploy
-
*before-script-build2
stages
:
-
.pre
-
build1
-
build2
-
test
-
deploy
-
.post
buildx:linux-amd64
:
extends
:
.buildx-build
...
...
@@ -148,7 +152,7 @@ build:linux-arm64v8:
-
Dockerfile
build-manifest:multiarch
:
extends
:
.
deploy
extends
:
.
build2
script
:
-
|
for i in $OS_ARCH; do
...
...
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