2020-07-29 14:01:00 +00:00
|
|
|
image: docker:stable-git
|
|
|
|
services:
|
|
|
|
- docker:stable-dind
|
|
|
|
variables:
|
|
|
|
DOCKER_DRIVER: overlay2
|
|
|
|
DOCKER_CLI_EXPERIMENTAL: enabled
|
|
|
|
DOCKER_BUILDKIT: 1
|
|
|
|
|
|
|
|
|
2021-05-04 09:34:02 +00:00
|
|
|
element:
|
2020-09-12 08:16:24 +00:00
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
script:
|
2021-05-04 09:34:02 +00:00
|
|
|
- cd element
|
|
|
|
- make push
|
2020-09-12 08:16:24 +00:00
|
|
|
only:
|
|
|
|
variables:
|
2021-05-04 09:34:02 +00:00
|
|
|
- $CI_COMMIT_REF_PROTECTED == "true"
|
2021-02-10 09:48:56 +00:00
|
|
|
changes:
|
2021-05-04 09:35:19 +00:00
|
|
|
- element/*
|
2020-09-12 08:16:24 +00:00
|
|
|
|
Update hugo/Dockerfile, hugo/hugo.sh, hugo/Makefile, .gitlab-ci.yml files
Deleted borg/Dockerfile, borg/Makefile, borg/version, dendrite/Dockerfile, dendrite/Makefile, dendrite/entrypoint.sh, dendrite/version, minio/Dockerfile, minio/Makefile, minio/version, restic/Dockerfile, restic/Makefile, restic/version, watchdog/Dockerfile, watchdog/Makefile, watchdog/version files
2021-05-08 11:01:13 +00:00
|
|
|
hugo:
|
2020-09-12 08:16:24 +00:00
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
script:
|
Update hugo/Dockerfile, hugo/hugo.sh, hugo/Makefile, .gitlab-ci.yml files
Deleted borg/Dockerfile, borg/Makefile, borg/version, dendrite/Dockerfile, dendrite/Makefile, dendrite/entrypoint.sh, dendrite/version, minio/Dockerfile, minio/Makefile, minio/version, restic/Dockerfile, restic/Makefile, restic/version, watchdog/Dockerfile, watchdog/Makefile, watchdog/version files
2021-05-08 11:01:13 +00:00
|
|
|
- cd hugo
|
2020-09-12 08:16:24 +00:00
|
|
|
- make push
|
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $CI_COMMIT_REF_PROTECTED == "true"
|
2021-02-10 09:48:56 +00:00
|
|
|
changes:
|
Update hugo/Dockerfile, hugo/hugo.sh, hugo/Makefile, .gitlab-ci.yml files
Deleted borg/Dockerfile, borg/Makefile, borg/version, dendrite/Dockerfile, dendrite/Makefile, dendrite/entrypoint.sh, dendrite/version, minio/Dockerfile, minio/Makefile, minio/version, restic/Dockerfile, restic/Makefile, restic/version, watchdog/Dockerfile, watchdog/Makefile, watchdog/version files
2021-05-08 11:01:13 +00:00
|
|
|
- hugo/*
|
2020-09-12 08:16:24 +00:00
|
|
|
|
2020-08-28 12:48:19 +00:00
|
|
|
watchdog:
|
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
script:
|
2020-09-05 08:56:10 +00:00
|
|
|
- cd watchdog
|
|
|
|
- make push
|
2020-08-28 12:48:19 +00:00
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $CI_COMMIT_REF_PROTECTED == "true"
|
2021-02-10 09:48:56 +00:00
|
|
|
changes:
|
|
|
|
- watchdog/*
|
2020-08-28 12:48:19 +00:00
|
|
|
|
2020-08-20 08:51:26 +00:00
|
|
|
unifi:
|
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
script:
|
2020-09-05 08:56:10 +00:00
|
|
|
- cd unifi
|
|
|
|
- make push
|
2020-07-29 14:01:00 +00:00
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $CI_COMMIT_REF_PROTECTED == "true"
|
2021-02-10 09:48:56 +00:00
|
|
|
changes:
|
|
|
|
- unifi/*
|
2020-07-29 14:01:00 +00:00
|
|
|
|
|
|
|
keycloak:
|
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
script:
|
2020-09-05 08:56:10 +00:00
|
|
|
- cd keycloak
|
|
|
|
- make push
|
2020-07-29 14:01:00 +00:00
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $CI_COMMIT_REF_PROTECTED == "true"
|
2021-02-10 09:48:56 +00:00
|
|
|
changes:
|
|
|
|
- keycloak/*
|
2020-07-29 14:01:00 +00:00
|
|
|
|
2021-01-12 10:24:48 +00:00
|
|
|
pleroma:
|
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
script:
|
|
|
|
- cd pleroma
|
|
|
|
- make push
|
2021-01-17 18:43:14 +00:00
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $CI_COMMIT_REF_PROTECTED == "true"
|
2021-02-10 09:48:56 +00:00
|
|
|
changes:
|
|
|
|
- pleroma/*
|
2021-01-17 18:43:14 +00:00
|
|
|
|
2021-02-03 11:14:09 +00:00
|
|
|
roundcubemail:
|
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
script:
|
|
|
|
- cd roundcubemail
|
|
|
|
- make push
|
2021-02-08 11:11:08 +00:00
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $CI_COMMIT_REF_PROTECTED == "true"
|
2021-02-10 09:48:56 +00:00
|
|
|
changes:
|
|
|
|
- roundcubemail/*
|
2021-02-08 11:11:08 +00:00
|
|
|
|
2021-03-01 20:23:58 +00:00
|
|
|
shields:
|
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
script:
|
|
|
|
- cd shields
|
|
|
|
- make push
|
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $CI_COMMIT_REF_PROTECTED == "true"
|
|
|
|
changes:
|
|
|
|
- shields/*
|
|
|
|
|
2021-04-29 13:08:13 +00:00
|
|
|
synapse:
|
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
script:
|
|
|
|
- cd synapse
|
|
|
|
- make push
|
|
|
|
only:
|
|
|
|
variables:
|
|
|
|
- $CI_COMMIT_REF_PROTECTED == "true"
|
|
|
|
changes:
|
|
|
|
- synapse/*
|
|
|
|
|
2020-07-29 14:01:00 +00:00
|
|
|
.docker_init: &docker_init |
|
|
|
|
if ! docker info &>/dev/null; then
|
|
|
|
if [ -z "${DOCKER_HOST}" -a "${KUBERNETES_PORT}" ]; then
|
|
|
|
export DOCKER_HOST='tcp://localhost:2375'
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
|
|
|
|
ls -al /proc/sys/fs/binfmt_misc/
|
|
|
|
if [ "${CI_COMMIT_REF_PROTECTED}" == "true" ]; then
|
|
|
|
echo "Log on Docker Hub"
|
|
|
|
echo "${DOCKER_HUB_KEY}" | docker login -u "alemairebe" --password-stdin
|
2020-12-11 15:27:46 +00:00
|
|
|
docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
2020-07-29 14:01:00 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
mkdir -p /root/.docker/cli-plugins
|
2021-05-08 11:59:43 +00:00
|
|
|
wget https://github.com/docker/buildx/releases/download/v0.5.1/buildx-v0.5.1.linux-amd64
|
|
|
|
mv buildx-v0.5.1.linux-amd64 /root/.docker/cli-plugins/docker-buildx
|
2020-07-29 14:01:00 +00:00
|
|
|
chmod +x /root/.docker/cli-plugins/docker-buildx
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- *docker_init
|
|
|
|
- apk add --update make
|
|
|
|
- docker buildx create --use --platform linux/amd64,linux/arm64,linux/arm,linux/ppc64le
|
|
|
|
- docker buildx ls
|