This commit is contained in:
Tyler 2018-08-31 21:34:14 -04:00
parent 67fef871c2
commit 2b1dfb247a
2 changed files with 22 additions and 0 deletions

View File

@ -1,6 +1,7 @@
stages:
- build
- build-docker
- manifest
build-windows-amd64:
image: golang:alpine
@ -76,3 +77,10 @@ build-docker-arm64:
- chmod +x tmp/qemu-aarch64-static
- docker image build -t $CI_REGISTRY_IMAGE:arm64-latest -f docker/Dockerfile.arm64 .
- docker push $CI_REGISTRY_IMAGE:arm64-latest
manifest:
image: registry.git.meow.tf/docker/tools/manifest-tool
stage: manifest
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- manifest-tool push from-spec manifest.yml

14
manifest.yml Normal file
View File

@ -0,0 +1,14 @@
image: registry.git.meow.tf/tyler/godns:latest
manifests:
- image: registry.git.meow.tf/tyler/godns:amd64-latest
platform:
architecture: amd64
os: linux
- image: registry.git.meow.tf/tyler/godns:arm-latest
platform:
architecture: arm
os: linux
- image: registry.git.meow.tf/tyler/godns:arm64-latest
platform:
architecture: arm64
os: linux