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: - mkdir -p /kaniko/.docker - echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$CI_REGISTRY_AUTH\",\"email\":\"$CI_REGISTRY_EMAIL\"}}}" > /kaniko/.docker/config.json script: - - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/support/docker/production/Dockerfile.buster --destination $DOCKER_IMAGE_NAME + - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $DOCKERFILE --destination $DOCKER_IMAGE_NAME build-docker-develop: <<: *docker @@ -57,6 +57,15 @@ build-docker-develop: - schedules variables: DOCKER_IMAGE_NAME: chocobozzz/peertube:develop-buster + DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.buster + +build-docker-webserver: + <<: *docker + only: + - schedules + variables: + DOCKER_IMAGE_NAME: chocobozzz/peertube-webserver + DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.nginx build-docker-tag: <<: *docker @@ -64,6 +73,7 @@ build-docker-tag: - tags variables: DOCKER_IMAGE_NAME: chocobozzz/peertube:$CI_COMMIT_TAG-buster + DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.buster build-docker-master: <<: *docker @@ -71,3 +81,4 @@ build-docker-master: - master variables: DOCKER_IMAGE_NAME: chocobozzz/peertube:production-buster + DOCKERFILE: $CI_PROJECT_DIR/support/docker/production/Dockerfile.buster