1
0
mirror of https://gitlab.com/jarylc/docker-duoauthproxy.git synced 2026-02-04 14:26:45 +00:00
Files
docker-duoauthproxy/build.template.yml

47 lines
822 B
YAML

image: docker
stages:
- build
- deploy
cache:
key: dap_${CI_COMMIT_REF_NAME}
paths:
- EXISTING
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_TLS_CERTDIR: ""
DOCKER_DRIVER: overlay2
DOCKER_BUILDKIT: 1
DOCKER_CLI_EXPERIMENTAL: enabled
.build-template:
stage: build
services:
- name: docker:dind
command: ["--experimental"]
script:
- VERSION=$LATEST CHECKSUM=$CHECKSUM PYTHON_VERSION=$PYTHON_VERSION ./build.sh
build:amd64:
extends: .build-template
variables:
ARCH: amd64
build:arm64:
extends: .build-template
variables:
ARCH: arm64
tags:
- arm
deploy:
stage: deploy
services:
- name: docker:dind
command: [ "--experimental" ]
script:
- ./manifest.sh $(echo '$LATEST' | sed 's/v//g')
after_script:
- echo '$LATEST' > EXISTING