This commit is contained in:
Tyler 2018-06-30 23:19:53 -04:00
parent 9e9d9af6bb
commit 9856d3f3be
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,3 @@
before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
stages:
- build
- build-docker
@ -49,6 +46,7 @@ build-docker-amd64:
image: docker:latest
stage: build-docker
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker image build -t $CI_REGISTRY_IMAGE:amd64-latest -f docker/Dockerfile .
- docker push $CI_REGISTRY_IMAGE:amd64-latest
@ -56,6 +54,7 @@ build-docker-arm:
image: docker:latest
stage: build-docker
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- mkdir tmp
- wget -O tmp/qemu-arm-static https://github.com/multiarch/qemu-user-static/releases/download/v2.12.0/qemu-arm-static
- chmod +x tmp/qemu-arm-static
@ -66,6 +65,7 @@ build-docker-arm64:
image: docker:latest
stage: build-docker
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- mkdir tmp
- wget -O tmp/qemu-aarch64-static https://github.com/multiarch/qemu-user-static/releases/download/v2.12.0/qemu-aarch64-static
- chmod +x tmp/qemu-aarch64-static