diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ad94c8cab..66c6df761 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
@@ -38,47 +38,3 @@ build-nightly: | |||
38 | - eval `ssh-agent -s` | 38 | - eval `ssh-agent -s` |
39 | - if [ ! -z ${DEPLOYEMENT_KEY+x} ]; then ssh-add <(echo "${DEPLOYEMENT_KEY}"); fi | 39 | - if [ ! -z ${DEPLOYEMENT_KEY+x} ]; then ssh-add <(echo "${DEPLOYEMENT_KEY}"); fi |
40 | - if [ ! -z ${DEPLOYEMENT_KEY+x} ]; then scp ./peertube-nightly-* ${DEPLOYEMENT_USER}@${DEPLOYEMENT_HOST}:../../web/nightly; fi | 40 | - if [ ! -z ${DEPLOYEMENT_KEY+x} ]; then scp ./peertube-nightly-* ${DEPLOYEMENT_USER}@${DEPLOYEMENT_HOST}:../../web/nightly; fi |
41 | |||
42 | .docker: &docker | ||
43 | stage: docker-nightly | ||
44 | cache: {} | ||
45 | image: | ||
46 | name: gcr.io/kaniko-project/executor:debug | ||
47 | entrypoint: [""] | ||
48 | before_script: | ||
49 | - mkdir -p /kaniko/.docker | ||
50 | - echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$CI_REGISTRY_AUTH\",\"email\":\"$CI_REGISTRY_EMAIL\"}}}" > /kaniko/.docker/config.json | ||
51 | script: | ||
52 | - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $DOCKERFILE --destination $DOCKER_IMAGE_NAME | ||
53 | |||
54 | build-docker-develop: | ||
55 | <<: *docker | ||
56 | only: | ||
57 | - schedules | ||
58 | variables: | ||
59 | DOCKER_IMAGE_NAME: chocobozzz/peertube:develop-bullseye | ||
60 | DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.bullseye | ||
61 | |||
62 | build-docker-webserver: | ||
63 | <<: *docker | ||
64 | only: | ||
65 | - schedules | ||
66 | variables: | ||
67 | DOCKER_IMAGE_NAME: chocobozzz/peertube-webserver | ||
68 | DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.nginx | ||
69 | |||
70 | build-docker-tag: | ||
71 | <<: *docker | ||
72 | only: | ||
73 | - tags | ||
74 | variables: | ||
75 | DOCKER_IMAGE_NAME: chocobozzz/peertube:$CI_COMMIT_TAG-bullseye | ||
76 | DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.bullseye | ||
77 | |||
78 | build-docker-master: | ||
79 | <<: *docker | ||
80 | only: | ||
81 | - master | ||
82 | variables: | ||
83 | DOCKER_IMAGE_NAME: chocobozzz/peertube:production-bullseye | ||
84 | DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.bullseye | ||