Update .gitlab-ci.yml

This commit is contained in:
Adrien le Maire 2021-05-08 11:59:43 +00:00
parent 02c0e7e7ae
commit 48d16d1b6f

View File

@ -33,19 +33,6 @@ hugo:
changes:
- hugo/*
dev-watchdog:
stage: build
tags:
- docker
script:
- cd watchdog
- make nopush
only:
variables:
- $CI_COMMIT_REF_PROTECTED == "false"
changes:
- watchdog/*
watchdog:
stage: build
tags:
@ -59,19 +46,6 @@ watchdog:
changes:
- watchdog/*
dev-unifi:
stage: build
tags:
- docker
script:
- cd unifi
- make nopush
only:
variables:
- $CI_COMMIT_REF_PROTECTED == "false"
changes:
- unifi/*
unifi:
stage: build
tags:
@ -85,19 +59,6 @@ unifi:
changes:
- unifi/*
dev-keycloak:
stage: build
tags:
- docker
script:
- cd keycloak
- make nopush
only:
variables:
- $CI_COMMIT_REF_PROTECTED == "false"
changes:
- keycloak/*
keycloak:
stage: build
tags:
@ -111,32 +72,6 @@ keycloak:
changes:
- keycloak/*
dev-restic:
stage: build
tags:
- docker
script:
- cd restic
- make nopush
only:
variables:
- $CI_COMMIT_REF_PROTECTED == "false"
changes:
- restic/*
restic:
stage: build
tags:
- docker
script:
- cd restic
- make push
only:
variables:
- $CI_COMMIT_REF_PROTECTED == "true"
changes:
- restic/*
pleroma:
stage: build
tags:
@ -150,19 +85,6 @@ pleroma:
changes:
- pleroma/*
dendrite:
stage: build
tags:
- docker
script:
- cd dendrite
- make push
only:
variables:
- $CI_COMMIT_REF_PROTECTED == "true"
changes:
- dendrite/*
roundcubemail:
stage: build
tags:
@ -176,19 +98,6 @@ roundcubemail:
changes:
- roundcubemail/*
borg:
stage: build
tags:
- docker
script:
- cd borg
- make push
only:
variables:
- $CI_COMMIT_REF_PROTECTED == "true"
changes:
- borg/*
shields:
stage: build
tags:
@ -230,8 +139,8 @@ synapse:
fi
mkdir -p /root/.docker/cli-plugins
wget https://github.com/docker/buildx/releases/download/v0.4.2/buildx-v0.4.2.linux-amd64
mv buildx-v0.4.2.linux-amd64 /root/.docker/cli-plugins/docker-buildx
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
chmod +x /root/.docker/cli-plugins/docker-buildx
before_script: