Browse Source

Manifest

master
Tyler 3 years ago
parent
commit
2b1dfb247a
  1. 8
      .gitlab-ci.yml
  2. 14
      manifest.yml

8
.gitlab-ci.yml

@ -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

@ -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
Loading…
Cancel
Save