This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
fidohub/.gitlab-ci.yml

28 lines
549 B
YAML
Raw Normal View History

2020-08-09 22:13:39 +00:00
stages:
- build
2023-06-26 23:58:07 +00:00
- build-manifest
2020-08-09 22:13:39 +00:00
variables:
2023-06-26 23:58:07 +00:00
VERSION: latest
2020-08-09 22:13:39 +00:00
DOCKER_HOST: tcp://docker:2375
2023-06-26 23:58:07 +00:00
VERSIONARCH: ${VERSION}-${ARCH}
2020-08-09 22:13:39 +00:00
2023-06-26 23:58:07 +00:00
cache:
key: ${CI_JOB_NAME_SLUG}-${CI_COMMIT_REF_SLUG}
paths:
- build-cache
image: docker:latest
2020-08-09 22:13:39 +00:00
services:
- docker:dind
before_script:
2023-06-26 23:58:07 +00:00
- if [ ! -d build-cache ]; then mkdir build-cache; fi
- docker info && docker version
2020-08-09 22:13:39 +00:00
- echo "$CI_JOB_TOKEN" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin
2023-06-26 23:58:07 +00:00
include:
- .gitlab-docker-x86_64.yml
# .gitlab-docker-armv7l.yml
- .gitlab-docker-manifest.yml