1 image: chocobozzz/peertube-ci:10
13 build-openapi-clients:
20 - support/doc/api/openapi.yaml
23 - apt-get -yqqq install openjdk-8-jre
24 - yarn install --pure-lockfile
25 - scripts/openapi-peertube-version.sh
26 - scripts/openapi-clients.sh
33 - yarn install --pure-lockfile --cache-folder .yarn-cache
35 - mkdir "${HOME}/.ssh"
36 - chmod 700 "${HOME}/.ssh"
37 - if [ ! -z ${DEPLOYEMENT_KNOWN_HOSTS+x} ]; then echo -e "${DEPLOYEMENT_KNOWN_HOSTS}" > ${HOME}/.ssh/known_hosts; 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
46 name: gcr.io/kaniko-project/executor:debug
49 - mkdir -p /kaniko/.docker
50 - echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$CI_REGISTRY_AUTH\",\"email\":\"$CI_REGISTRY_EMAIL\"}}}" > /kaniko/.docker/config.json
52 - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/support/docker/production/Dockerfile.buster --destination $DOCKER_IMAGE_NAME
59 DOCKER_IMAGE_NAME: chocobozzz/peertube:develop-buster
66 DOCKER_IMAGE_NAME: chocobozzz/peertube:$CI_COMMIT_TAG-buster
73 DOCKER_IMAGE_NAME: chocobozzz/peertube:production-buster