Fix CI
This commit is contained in:
parent
9e9d9af6bb
commit
9856d3f3be
|
@ -1,6 +1,3 @@
|
||||||
before_script:
|
|
||||||
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- build-docker
|
- build-docker
|
||||||
|
@ -49,6 +46,7 @@ build-docker-amd64:
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
stage: build-docker
|
stage: build-docker
|
||||||
script:
|
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 image build -t $CI_REGISTRY_IMAGE:amd64-latest -f docker/Dockerfile .
|
||||||
- docker push $CI_REGISTRY_IMAGE:amd64-latest
|
- docker push $CI_REGISTRY_IMAGE:amd64-latest
|
||||||
|
|
||||||
|
@ -56,6 +54,7 @@ build-docker-arm:
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
stage: build-docker
|
stage: build-docker
|
||||||
script:
|
script:
|
||||||
|
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
||||||
- mkdir tmp
|
- mkdir tmp
|
||||||
- wget -O tmp/qemu-arm-static https://github.com/multiarch/qemu-user-static/releases/download/v2.12.0/qemu-arm-static
|
- 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
|
- chmod +x tmp/qemu-arm-static
|
||||||
|
@ -66,6 +65,7 @@ build-docker-arm64:
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
stage: build-docker
|
stage: build-docker
|
||||||
script:
|
script:
|
||||||
|
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
||||||
- mkdir tmp
|
- mkdir tmp
|
||||||
- wget -O tmp/qemu-aarch64-static https://github.com/multiarch/qemu-user-static/releases/download/v2.12.0/qemu-aarch64-static
|
- 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
|
- chmod +x tmp/qemu-aarch64-static
|
||||||
|
|
Loading…
Reference in New Issue