mirror of https://github.com/Chocobozzz/PeerTube
Docker: stretch -> buster
parent
3c0d0c669d
commit
c82bf36a3f
|
@ -107,25 +107,25 @@ build-nightly:
|
||||||
before_script:
|
before_script:
|
||||||
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$CI_REGISTRY_AUTH\",\"email\":\"$CI_REGISTRY_EMAIL\"}}}" > /kaniko/.docker/config.json
|
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$CI_REGISTRY_AUTH\",\"email\":\"$CI_REGISTRY_EMAIL\"}}}" > /kaniko/.docker/config.json
|
||||||
script:
|
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:
|
build-docker-develop:
|
||||||
<<: *docker
|
<<: *docker
|
||||||
only:
|
only:
|
||||||
- schedules
|
- schedules
|
||||||
variables:
|
variables:
|
||||||
DOCKER_IMAGE_NAME: chocobozzz/peertube:develop-stretch
|
DOCKER_IMAGE_NAME: chocobozzz/peertube:develop-buster
|
||||||
|
|
||||||
build-docker-tag:
|
build-docker-tag:
|
||||||
<<: *docker
|
<<: *docker
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
variables:
|
variables:
|
||||||
DOCKER_IMAGE_NAME: chocobozzz/peertube:$CI_COMMIT_TAG-stretch
|
DOCKER_IMAGE_NAME: chocobozzz/peertube:$CI_COMMIT_TAG-buster
|
||||||
|
|
||||||
build-docker-master:
|
build-docker-master:
|
||||||
<<: *docker
|
<<: *docker
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
variables:
|
variables:
|
||||||
DOCKER_IMAGE_NAME: chocobozzz/peertube:production-stretch
|
DOCKER_IMAGE_NAME: chocobozzz/peertube:production-buster
|
||||||
|
|
|
@ -81,7 +81,7 @@ $ docker-compose up -d
|
||||||
```shell
|
```shell
|
||||||
$ git clone https://github.com/chocobozzz/PeerTube /tmp/peertube
|
$ git clone https://github.com/chocobozzz/PeerTube /tmp/peertube
|
||||||
$ cd /tmp/peertube
|
$ cd /tmp/peertube
|
||||||
$ docker build . -f ./support/docker/production/Dockerfile.stretch
|
$ docker build . -f ./support/docker/production/Dockerfile.buster
|
||||||
```
|
```
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
|
@ -23,8 +23,8 @@ services:
|
||||||
# If you don't want to use the official image and build one from sources
|
# If you don't want to use the official image and build one from sources
|
||||||
# build:
|
# build:
|
||||||
# context: .
|
# context: .
|
||||||
# dockerfile: ./support/docker/production/Dockerfile.stretch
|
# dockerfile: ./support/docker/production/Dockerfile.buster
|
||||||
image: chocobozzz/peertube:production-stretch
|
image: chocobozzz/peertube:production-buster
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
# Traefik labels are suggested as an example for people using Traefik,
|
# Traefik labels are suggested as an example for people using Traefik,
|
||||||
|
|
Loading…
Reference in New Issue