2017-12-07 04:19:02 +00:00
|
|
|
stages:
|
|
|
|
- build
|
2023-01-31 22:52:51 +00:00
|
|
|
- build-manifest
|
2020-08-23 02:54:50 +00:00
|
|
|
- build-test
|
2023-01-31 22:52:51 +00:00
|
|
|
- build-manifest-test
|
|
|
|
|
2017-12-07 04:19:02 +00:00
|
|
|
variables:
|
2023-01-31 22:52:51 +00:00
|
|
|
BRANCH: alpine
|
2022-07-30 00:51:02 +00:00
|
|
|
VERSION: 8.1-fpm-${BRANCH}
|
2019-01-22 00:48:13 +00:00
|
|
|
DOCKER_HOST: tcp://docker:2375
|
2023-01-31 22:52:51 +00:00
|
|
|
VERSIONARCH: ${VERSION}-${ARCH}
|
2017-12-07 04:19:02 +00:00
|
|
|
|
2023-02-03 06:45:51 +00:00
|
|
|
cache:
|
2023-02-03 14:13:10 +00:00
|
|
|
key: ${CI_JOB_NAME_SLUG}-${CI_COMMIT_REF_SLUG}
|
2023-02-03 06:45:51 +00:00
|
|
|
paths:
|
2023-02-04 13:47:39 +00:00
|
|
|
- build-cache
|
2023-02-03 06:45:51 +00:00
|
|
|
|
|
|
|
image: docker:latest
|
2017-12-07 04:19:02 +00:00
|
|
|
services:
|
2023-01-31 22:52:51 +00:00
|
|
|
- docker:dind
|
2017-12-07 04:19:02 +00:00
|
|
|
|
|
|
|
before_script:
|
2023-02-04 13:47:39 +00:00
|
|
|
- if [ ! -d build-cache ]; then mkdir build-cache; fi
|
2023-06-26 09:57:08 +00:00
|
|
|
- sed -i -e s'/https/http/' /etc/apk/repositories
|
2023-01-31 22:52:51 +00:00
|
|
|
- HTTP_PROXY=http://proxy.dege.lan:3128 apk add git curl
|
2023-04-05 13:09:08 +00:00
|
|
|
- docker info && docker version
|
2023-02-03 06:45:51 +00:00
|
|
|
# env|sort
|
2023-01-31 22:52:51 +00:00
|
|
|
# docker login -u "$CI_DEPENDENCY_PROXY_USER" -p "$CI_DEPENDENCY_PROXY_PASSWORD" "$CI_SERVER_HOST"
|
2018-02-27 08:53:56 +00:00
|
|
|
- echo "$CI_JOB_TOKEN" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin
|
2017-12-07 04:19:02 +00:00
|
|
|
|
2023-02-03 06:45:51 +00:00
|
|
|
include:
|
|
|
|
- .gitlab-docker-x86_64.yml
|
2023-02-04 12:38:08 +00:00
|
|
|
# .gitlab-docker-armv7l.yml
|
2023-02-03 06:45:51 +00:00
|
|
|
- .gitlab-docker-arm64.yml
|
|
|
|
- .gitlab-docker-manifest.yml
|