aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 358257209..4759b0861 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -49,7 +49,7 @@ build-nightly:
49 - mkdir -p /kaniko/.docker 49 - mkdir -p /kaniko/.docker
50 - echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$CI_REGISTRY_AUTH\",\"email\":\"$CI_REGISTRY_EMAIL\"}}}" > /kaniko/.docker/config.json 50 - echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$CI_REGISTRY_AUTH\",\"email\":\"$CI_REGISTRY_EMAIL\"}}}" > /kaniko/.docker/config.json
51 script: 51 script:
52 - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/support/docker/production/Dockerfile.buster --destination $DOCKER_IMAGE_NAME 52 - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $DOCKERFILE --destination $DOCKER_IMAGE_NAME
53 53
54build-docker-develop: 54build-docker-develop:
55 <<: *docker 55 <<: *docker
@@ -57,6 +57,15 @@ build-docker-develop:
57 - schedules 57 - schedules
58 variables: 58 variables:
59 DOCKER_IMAGE_NAME: chocobozzz/peertube:develop-buster 59 DOCKER_IMAGE_NAME: chocobozzz/peertube:develop-buster
60 DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.buster
61
62build-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
60 69
61build-docker-tag: 70build-docker-tag:
62 <<: *docker 71 <<: *docker
@@ -64,6 +73,7 @@ build-docker-tag:
64 - tags 73 - tags
65 variables: 74 variables:
66 DOCKER_IMAGE_NAME: chocobozzz/peertube:$CI_COMMIT_TAG-buster 75 DOCKER_IMAGE_NAME: chocobozzz/peertube:$CI_COMMIT_TAG-buster
76 DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.buster
67 77
68build-docker-master: 78build-docker-master:
69 <<: *docker 79 <<: *docker
@@ -71,3 +81,4 @@ build-docker-master:
71 - master 81 - master
72 variables: 82 variables:
73 DOCKER_IMAGE_NAME: chocobozzz/peertube:production-buster 83 DOCKER_IMAGE_NAME: chocobozzz/peertube:production-buster
84 DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.buster