smtp/.gitlab-ci.yml

32 lines
692 B
YAML
Raw Normal View History

2017-07-23 07:56:38 +00:00
stages:
- build
2023-04-25 10:39:41 +00:00
- build-manifest
2017-07-23 07:56:38 +00:00
variables:
2023-04-25 10:39:41 +00:00
VERSION: latest
2019-05-21 10:06:27 +00:00
DOCKER_HOST: tcp://docker:2375
2023-04-25 10:39:41 +00:00
VERSIONARCH: ${VERSION}-${ARCH}
2017-07-23 07:56:38 +00:00
2023-04-25 10:39:41 +00:00
cache:
key: ${CI_JOB_NAME_SLUG}-${CI_COMMIT_REF_SLUG}
paths:
- build-cache
image: docker:latest
2017-07-23 07:56:38 +00:00
services:
2019-05-21 10:06:27 +00:00
- docker:dind
2017-07-23 07:56:38 +00:00
before_script:
2023-04-25 10:39:41 +00:00
- if [ ! -d build-cache ]; then mkdir build-cache; fi
- sed -ie s'/https/http/' /etc/apk/repositories
- HTTP_PROXY=http://proxy.dege.lan:3128 apk add git curl
- docker info && docker version
# env|sort
2018-01-31 11:56:02 +00:00
- echo "$CI_JOB_TOKEN" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin
2017-07-23 07:56:38 +00:00
2023-04-25 10:39:41 +00:00
include:
- .gitlab-docker-x86_64.yml
# .gitlab-docker-armv7l.yml
# .gitlab-docker-arm64.yml
- .gitlab-docker-manifest.yml