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