2019-07-25 07:06:05 +00:00
|
|
|
stages:
|
|
|
|
- build
|
2023-05-24 10:45:55 +00:00
|
|
|
- build-manifest
|
2019-07-25 07:06:05 +00:00
|
|
|
|
|
|
|
variables:
|
2023-05-24 10:45:55 +00:00
|
|
|
VERSION: latest
|
2019-07-25 07:06:05 +00:00
|
|
|
DOCKER_HOST: tcp://docker:2375
|
2023-05-24 10:45:55 +00:00
|
|
|
VERSIONARCH: ${VERSION}-${ARCH}
|
2019-07-25 07:06:05 +00:00
|
|
|
|
2023-05-24 10:45:55 +00:00
|
|
|
cache:
|
|
|
|
key: ${CI_JOB_NAME_SLUG}-${CI_COMMIT_REF_SLUG}
|
|
|
|
paths:
|
|
|
|
- build-cache
|
|
|
|
|
|
|
|
image: docker:latest
|
2019-07-25 07:06:05 +00:00
|
|
|
services:
|
|
|
|
- docker:dind
|
|
|
|
|
|
|
|
before_script:
|
2023-05-24 10:45:55 +00:00
|
|
|
- if [ ! -d build-cache ]; then mkdir build-cache; fi
|
|
|
|
- docker info && docker version
|
2019-07-25 07:06:05 +00:00
|
|
|
- echo "$CI_JOB_TOKEN" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin
|
|
|
|
|
2023-05-24 10:45:55 +00:00
|
|
|
include:
|
|
|
|
- .gitlab-docker-x86_64.yml
|
|
|
|
- .gitlab-docker-manifest.yml
|