nginx/.gitlab-ci.yml
2023-02-03 16:58:55 +11:00

34 lines
691 B
YAML

stages:
- build
- build-manifest
variables:
DOCKER_HOST: tcp://docker:2375
BRANCH: latest
VERSION: ${BRANCH}
VERSIONARCH: ${VERSION}-${ARCH}
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- docker/
image: docker:latest
services:
- docker:dind
before_script:
- if [ ! -d docker ]; then mkdir docker; fi
# sed -ie s'/https/http/' /etc/apk/repositories
# HTTP_PROXY=http://proxy.dege.lan:3128 apk add git curl
- docker info
- docker version
- echo "$CI_JOB_TOKEN" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin
# env|sort
include:
- .gitlab-docker-x86_64.yml
- .gitlab-docker-armv7l.yml
- .gitlab-docker-arm64.yml
- .gitlab-docker-manifest.yml