This commit is contained in:
Gareth Dunstone
2020-07-06 15:28:33 +10:00
parent c2ff168816
commit 6caee42425

View File

@ -1,5 +1,3 @@
variables:
CI_BUILD_IMAGE: "registry.gitlab.com/gdunstone/docker-buildx-qemu"
.build: .build:
image: docker:dind image: docker:dind
@ -25,10 +23,10 @@ variables:
fi fi
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
# these images depend on this repos image
build:buildx-master: build:buildx-master:
extends: .build extends: .build
image: $CI_BUILD_IMAGE image: $CI_APPLICATION_REPOSITORY:latest
only: only:
refs: refs:
- master - master
@ -44,7 +42,7 @@ build:buildx-master:
build:buildx: build:buildx:
extends: .build extends: .build
image: $CI_BUILD_IMAGE image: $CI_APPLICATION_REPOSITORY:latest
only: only:
variables: variables:
- $CI_BUILDX_ARCHS - $CI_BUILDX_ARCHS