let docker-compose pull

This commit is contained in:
Daniel Kluge 2022-01-07 00:35:22 +01:00
parent 2a0bf3359a
commit aa7608eb06
2 changed files with 2 additions and 2 deletions

View File

@ -74,8 +74,7 @@ steps:
commands: commands:
- docker-compose -p infoscreen -f docker-compose.yml rm -s -v -f - docker-compose -p infoscreen -f docker-compose.yml rm -s -v -f
- docker rmi $${REGISTRY_HOST}/$${IMAGE} || true - docker rmi $${REGISTRY_HOST}/$${IMAGE} || true
- docker pull $${REGISTRY_HOST}/$${IMAGE} - docker-compose -p infoscreen -f docker-compose.yml up -d
- docker-compose -p infoscreen -f docker-compose.yml up --no-build -d
--- ---
kind: pipeline kind: pipeline
type: ssh type: ssh

View File

@ -3,6 +3,7 @@ version: '3'
services: services:
server: server:
image: localhost:5000/infoscreen:latest image: localhost:5000/infoscreen:latest
container_name: infoscreen
restart: always restart: always
ports: ports:
- 11460:80 # 1, 14th char in alphabet, 6th char in alphabet, 0 - 11460:80 # 1, 14th char in alphabet, 6th char in alphabet, 0