mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-23 23:27:57 +01:00
Update .gitlab-ci.yml
This commit is contained in:
parent
34f0e057f9
commit
739c875fbc
@ -96,31 +96,20 @@ build:docker-releases:
|
|||||||
- linux
|
- linux
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
check:
|
|
||||||
image: tonistiigi/binfmt
|
|
||||||
script:
|
|
||||||
- binfmt --version
|
|
||||||
|
|
||||||
build:docker-development:
|
build:docker-development:
|
||||||
image: docker:20.10.11
|
image: jdrouet/docker-with-buildx:stable
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- docker:20.10.11-dind
|
- docker:dind
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
|
DOCKER_HOST: tcp://docker:2375/
|
||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overlay2
|
||||||
BUILDX_VERSION: "v0.7.1"
|
|
||||||
BUILDX_ARCH: "linux-amd64"
|
|
||||||
before_script:
|
|
||||||
- echo "$CI_REGISTRY_PASSWORD" | docker login $CI_REGISTRY --username
|
|
||||||
$CI_REGISTRY_USER --password-stdin
|
|
||||||
- wget -O /usr/bin/docker-buildx
|
|
||||||
https://github.com/docker/buildx/releases/download/${BUILDX_VERSION}/buildx-${BUILDX_VERSION}.${BUILDX_ARCH}
|
|
||||||
- chmod +x /usr/bin/docker-buildx
|
|
||||||
script:
|
script:
|
||||||
- docker-buildx create --use
|
- docker-buildx create --use
|
||||||
- docker-buildx build
|
- docker-buildx build
|
||||||
--platform linux/386,linux/amd64,linux/amd64,linux/arm/v7,linux/arm64/v8
|
--platform linux/386,linux/amd64,linux/arm/v7,linux/arm64/v8
|
||||||
--tag ${CI_REGISTRY_IMAGE}:test
|
--tag ${CI_REGISTRY_IMAGE}:test
|
||||||
--push
|
--push
|
||||||
.
|
.
|
||||||
|
Loading…
Reference in New Issue
Block a user