2016-08-22 02:11:35 +00:00
|
|
|
stages:
|
2023-02-03 06:32:46 +00:00
|
|
|
- build
|
|
|
|
- build-manifest
|
2016-08-22 02:11:35 +00:00
|
|
|
|
|
|
|
variables:
|
2019-05-16 03:17:16 +00:00
|
|
|
DOCKER_HOST: tcp://docker:2375
|
2023-02-02 12:55:08 +00:00
|
|
|
BRANCH: latest
|
|
|
|
VERSION: ${BRANCH}
|
|
|
|
VERSIONARCH: ${VERSION}-${ARCH}
|
2016-08-22 02:11:35 +00:00
|
|
|
|
2023-02-02 12:55:08 +00:00
|
|
|
cache:
|
2023-02-03 23:34:37 +00:00
|
|
|
key: ${CI_JOB_NAME_SLUG}-${CI_COMMIT_REF_SLUG}
|
2023-02-02 12:55:08 +00:00
|
|
|
paths:
|
2023-02-03 06:32:46 +00:00
|
|
|
- docker/
|
2023-02-02 12:55:08 +00:00
|
|
|
|
|
|
|
image: docker:latest
|
2016-08-22 02:11:35 +00:00
|
|
|
services:
|
2019-05-16 03:17:16 +00:00
|
|
|
- docker:dind
|
2016-08-22 02:11:35 +00:00
|
|
|
|
|
|
|
before_script:
|
2023-02-02 12:55:08 +00:00
|
|
|
- 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
|
2016-08-22 02:11:35 +00:00
|
|
|
- docker info
|
|
|
|
- docker version
|
2018-02-08 09:25:13 +00:00
|
|
|
- echo "$CI_JOB_TOKEN" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin
|
2021-02-25 02:49:03 +00:00
|
|
|
# env|sort
|
2016-08-22 02:11:35 +00:00
|
|
|
|
2020-05-28 07:03:16 +00:00
|
|
|
include:
|
2023-02-03 06:32:46 +00:00
|
|
|
- .gitlab-docker-x86_64.yml
|
|
|
|
- .gitlab-docker-armv7l.yml
|
|
|
|
- .gitlab-docker-arm64.yml
|
|
|
|
- .gitlab-docker-manifest.yml
|