2017-05-25 13:29:15 +00:00
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
|
|
|
|
variables:
|
2023-03-31 13:39:57 +00:00
|
|
|
DOCKER_HOST: tcp://docker:2375
|
2017-07-22 22:36:45 +00:00
|
|
|
VERSION: latest
|
2023-03-31 13:39:57 +00:00
|
|
|
VERSIONARCH: ${VERSION}-${ARCH}
|
2017-05-25 13:29:15 +00:00
|
|
|
|
2023-03-31 13:39:57 +00:00
|
|
|
image: docker:latest
|
2017-05-25 13:29:15 +00:00
|
|
|
services:
|
2023-03-31 13:39:57 +00:00
|
|
|
- docker:dind
|
2017-05-25 13:29:15 +00:00
|
|
|
|
|
|
|
before_script:
|
2023-03-31 13:39:57 +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
|
|
|
|
# docker login -u "$CI_DEPENDENCY_PROXY_USER" -p "$CI_DEPENDENCY_PROXY_PASSWORD" "$CI_SERVER_HOST"
|
|
|
|
- echo "$CI_JOB_TOKEN" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin
|
2017-05-25 13:29:15 +00:00
|
|
|
|
2023-03-31 13:39:57 +00:00
|
|
|
include:
|
|
|
|
- .gitlab-docker-x86_64.yml
|