2021-06-13 13:23:19 +00:00
|
|
|
stages:
|
2023-02-10 12:19:23 +00:00
|
|
|
- test
|
|
|
|
- build
|
2023-10-15 09:51:49 +00:00
|
|
|
- build-manifest
|
|
|
|
|
|
|
|
variables:
|
|
|
|
DOCKER_HOST: tcp://docker:2375
|
|
|
|
VERSION: latest
|
|
|
|
VERSIONARCH: ${VERSION}-${ARCH}
|
2021-06-13 13:23:19 +00:00
|
|
|
|
|
|
|
# This folder is cached between builds
|
|
|
|
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
|
|
|
|
cache:
|
2023-02-10 12:19:23 +00:00
|
|
|
key: ${CI_JOB_NAME_SLUG}-${CI_COMMIT_REF_SLUG}
|
2021-06-13 13:23:19 +00:00
|
|
|
paths:
|
2023-02-10 12:19:23 +00:00
|
|
|
- vendor/
|
2021-06-13 13:23:19 +00:00
|
|
|
|
2023-10-15 09:51:49 +00:00
|
|
|
image: docker:latest
|
|
|
|
services:
|
|
|
|
- docker:dind
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- docker info && docker version
|
|
|
|
- echo "$CI_JOB_TOKEN" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin
|
|
|
|
- if [ -n "$GITHUB_TOKEN" ]; then cat $GITHUB_TOKEN |base64 -d > auth.json; fi
|
|
|
|
|
2021-06-13 13:23:19 +00:00
|
|
|
include:
|
2023-02-10 12:19:23 +00:00
|
|
|
- .gitlab-test.yml
|
|
|
|
- .gitlab-docker-x86_64.yml
|
2023-12-19 01:54:04 +00:00
|
|
|
# .gitlab-docker-armv7l.yml
|
2024-02-05 12:11:16 +00:00
|
|
|
- .gitlab-docker-arm64.yml
|
2023-10-15 09:51:49 +00:00
|
|
|
- .gitlab-docker-manifest.yml
|