do not build for arm32 aka armv7 and use newer rust for sparse registry
This commit is contained in:
parent
8fe42115a6
commit
531e706725
2 changed files with 6 additions and 6 deletions
|
@ -33,14 +33,14 @@ variables:
|
||||||
docker buildx create
|
docker buildx create
|
||||||
--name "multi"
|
--name "multi"
|
||||||
--driver "docker-container"
|
--driver "docker-container"
|
||||||
--platform "linux/arm64,linux/arm/v7,linux/amd64"
|
--platform "linux/arm64,linux/amd64"
|
||||||
--use ci-context
|
--use ci-context
|
||||||
# Authorize against this project's own image registry:
|
# Authorize against this project's own image registry:
|
||||||
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
||||||
# Build multiplatform image and push to temporary tag:
|
# Build multiplatform image and push to temporary tag:
|
||||||
- >
|
- >
|
||||||
docker buildx build
|
docker buildx build
|
||||||
--platform "linux/arm/v7,linux/arm64,linux/amd64"
|
--platform "linux/arm64,linux/amd64"
|
||||||
--pull
|
--pull
|
||||||
--cache-from=type=registry,ref=$CI_REGISTRY_IMAGE/$TAG
|
--cache-from=type=registry,ref=$CI_REGISTRY_IMAGE/$TAG
|
||||||
--cache-from=type=registry,ref=$CI_REGISTRY_IMAGE/matrix-conduit:next
|
--cache-from=type=registry,ref=$CI_REGISTRY_IMAGE/matrix-conduit:next
|
||||||
|
@ -52,7 +52,7 @@ variables:
|
||||||
# Build multiplatform image to deb stage and extract their .deb files:
|
# Build multiplatform image to deb stage and extract their .deb files:
|
||||||
- >
|
- >
|
||||||
docker buildx build
|
docker buildx build
|
||||||
--platform "linux/arm/v7,linux/arm64,linux/amd64"
|
--platform "linux/arm64,linux/amd64"
|
||||||
--ulimit nofile=2048
|
--ulimit nofile=2048
|
||||||
--target "packager-result"
|
--target "packager-result"
|
||||||
--output="type=local,dest=/tmp/build-output"
|
--output="type=local,dest=/tmp/build-output"
|
||||||
|
@ -61,7 +61,7 @@ variables:
|
||||||
# Build multiplatform image to binary stage and extract their binaries:
|
# Build multiplatform image to binary stage and extract their binaries:
|
||||||
- >
|
- >
|
||||||
docker buildx build
|
docker buildx build
|
||||||
--platform "linux/arm/v7,linux/arm64,linux/amd64"
|
--platform "linux/arm64,linux/amd64"
|
||||||
--ulimit nofile=2048
|
--ulimit nofile=2048
|
||||||
--target "builder-result"
|
--target "builder-result"
|
||||||
--output="type=local,dest=/tmp/build-output"
|
--output="type=local,dest=/tmp/build-output"
|
||||||
|
@ -123,7 +123,7 @@ docker build debugging:
|
||||||
|
|
||||||
cargo check:
|
cargo check:
|
||||||
stage: test
|
stage: test
|
||||||
image: docker.io/rust:1.70.0-bullseye
|
image: docker.io/rust:1.73.0-bullseye
|
||||||
needs: []
|
needs: []
|
||||||
interruptible: true
|
interruptible: true
|
||||||
before_script:
|
before_script:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
FROM docker.io/rust:1.70-bullseye AS base
|
FROM docker.io/rust:1.73-bullseye AS base
|
||||||
|
|
||||||
FROM base AS builder
|
FROM base AS builder
|
||||||
WORKDIR /usr/src/conduit
|
WORKDIR /usr/src/conduit
|
||||||
|
|
Loading…
Add table
Reference in a new issue