Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
ae608508
Commit
ae608508
authored
May 22, 2022
by
Tiago Peixoto
Browse files
CI: build arm64 packages
parent
1c016bc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ae608508
...
...
@@ -55,8 +55,10 @@ build_sid:
-
BASE=debian:sid
-
img=`echo $BASE | sed s/:/_/`
-
cd release/debian
-
docker build --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache
-
docker run -v $PWD:/mount $img tar -c build | tar x
-
docker buildx build --platform linux/amd64 --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache --load
-
docker run --platform linux/amd64 -v $PWD:/mount $img tar -c build | tar x
-
docker buildx build --platform linux/arm64 --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache --load
-
docker run --platform linux/arm64 -v $PWD:/mount $img tar -c build | tar x
only
:
-
tags
artifacts
:
...
...
@@ -68,8 +70,10 @@ build_bookworm:
-
BASE=debian:bookworm
-
img=`echo $BASE | sed s/:/_/`
-
cd release/debian
-
docker build --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache
-
docker run -v $PWD:/mount $img tar -c build | tar x
-
docker buildx build --platform linux/amd64 --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache --load
-
docker run --platform linux/amd64 -v $PWD:/mount $img tar -c build | tar x
-
docker buildx build --platform linux/arm64 --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache --load
-
docker run --platform linux/arm64 -v $PWD:/mount $img tar -c build | tar x
only
:
-
tags
artifacts
:
...
...
@@ -81,8 +85,10 @@ build_bullseye:
-
BASE=debian:bullseye
-
img=`echo $BASE | sed s/:/_/`
-
cd release/debian
-
docker build --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache
-
docker run -v $PWD:/mount $img tar -c build | tar x
-
docker buildx build --platform linux/amd64 --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache --load
-
docker run --platform linux/amd64 -v $PWD:/mount $img tar -c build | tar x
-
docker buildx build --platform linux/arm64 --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache --load
-
docker run --platform linux/arm64 -v $PWD:/mount $img tar -c build | tar x
only
:
-
tags
artifacts
:
...
...
@@ -94,8 +100,10 @@ build_buster:
-
BASE=debian:buster
-
img=`echo $BASE | sed s/:/_/`
-
cd release/debian
-
docker build --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache
-
docker run -v $PWD:/mount $img tar -c build | tar x
-
docker buildx build --platform linux/amd64 --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache --load
-
docker run --platform linux/amd64 -v $PWD:/mount $img tar -c build | tar x
-
docker buildx build --platform linux/arm64 --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache --load
-
docker run --platform linux/arm64 -v $PWD:/mount $img tar -c build | tar x
only
:
-
tags
artifacts
:
...
...
@@ -107,8 +115,10 @@ build_bionic:
-
BASE=ubuntu:bionic
-
img=`echo $BASE | sed s/:/_/`
-
cd release/debian
-
docker build --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache
-
docker run -v $PWD:/mount $img tar -c build | tar x
-
docker buildx build --platform linux/amd64 --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache --load
-
docker run --platform linux/amd64 -v $PWD:/mount $img tar -c build | tar x
-
docker buildx build --platform linux/arm64 --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache --load
-
docker run --platform linux/arm64 -v $PWD:/mount $img tar -c build | tar x
only
:
-
tags
artifacts
:
...
...
@@ -120,8 +130,10 @@ build_focal:
-
BASE=ubuntu:focal
-
img=`echo $BASE | sed s/:/_/`
-
cd release/debian
-
docker build --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache
-
docker run -v $PWD:/mount $img tar -c build | tar x
-
docker buildx build --platform linux/amd64 --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache --load
-
docker run --platform linux/amd64 -v $PWD:/mount $img tar -c build | tar x
-
docker buildx build --platform linux/arm64 --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache --load
-
docker run --platform linux/arm64 -v $PWD:/mount $img tar -c build | tar x
only
:
-
tags
artifacts
:
...
...
@@ -133,8 +145,10 @@ build_hirsute:
-
BASE=ubuntu:hirsute
-
img=`echo $BASE | sed s/:/_/`
-
cd release/debian
-
docker build --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache
-
docker run -v $PWD:/mount $img tar -c build | tar x
-
docker buildx build --platform linux/amd64 --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache --load
-
docker run --platform linux/amd64 -v $PWD:/mount $img tar -c build | tar x
-
docker buildx build --platform linux/arm64 --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache --load
-
docker run --platform linux/arm64 -v $PWD:/mount $img tar -c build | tar x
only
:
-
tags
artifacts
:
...
...
@@ -146,8 +160,25 @@ build_impish:
-
BASE=ubuntu:impish
-
img=`echo $BASE | sed s/:/_/`
-
cd release/debian
-
docker build --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache
-
docker run -v $PWD:/mount $img tar -c build | tar x
-
docker buildx build --platform linux/amd64 --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache --load
-
docker run --platform linux/amd64 -v $PWD:/mount $img tar -c build | tar x
-
docker buildx build --platform linux/arm64 --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache --load
-
docker run --platform linux/arm64 -v $PWD:/mount $img tar -c build | tar x
only
:
-
tags
artifacts
:
paths
:
-
release/debian/build/*
build_jammy
:
script
:
-
BASE=ubuntu:jammy
-
img=`echo $BASE | sed s/:/_/`
-
cd release/debian
-
docker buildx build --platform linux/amd64 --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache --load
-
docker run --platform linux/amd64 -v $PWD:/mount $img tar -c build | tar x
-
docker buildx build --platform linux/arm64 --build-arg BASE=$BASE --build-arg REF=`git log -n1 --pretty='%H'` -t $img . --no-cache --load
-
docker run --platform linux/arm64 -v $PWD:/mount $img tar -c build | tar x
only
:
-
tags
artifacts
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment