X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.gitlab-ci.yml;h=e9c1898f3245224a0efcaf8628268e4317928716;hb=f88ee4a9523bf3c4a61a45832963c558aed4d0b1;hp=b8c9c5fdac92dede7e8ba33d4ffbc842e0c717fb;hpb=14cc552b79f8386efc83716392b4cc6d523185c5;p=github%2FChocobozzz%2FPeerTube.git diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b8c9c5fda..e9c1898f3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -100,24 +100,32 @@ build-nightly: .docker: &docker stage: docker-nightly + cache: {} image: name: gcr.io/kaniko-project/executor:debug entrypoint: [""] before_script: - 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.stretch --destination $DOCKER_IMAGE_NAME + - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/support/docker/production/Dockerfile.buster --destination $DOCKER_IMAGE_NAME build-docker-develop: <<: *docker only: - schedules variables: - DOCKER_IMAGE_NAME: chocobozzz/peertube:develop-stretch + DOCKER_IMAGE_NAME: chocobozzz/peertube:develop-buster build-docker-tag: <<: *docker only: - tags variables: - DOCKER_IMAGE_NAME: chocobozzz/peertube:$CI_COMMIT_TAG-stretch + DOCKER_IMAGE_NAME: chocobozzz/peertube:$CI_COMMIT_TAG-buster + +build-docker-master: + <<: *docker + only: + - master + variables: + DOCKER_IMAGE_NAME: chocobozzz/peertube:production-buster