Added default image to CI latest and ci sleep to 15

This commit is contained in:
Phil 2023-08-22 21:07:07 +02:00
parent f41712165e
commit 8175ae1e1a
2 changed files with 3 additions and 2 deletions

View file

@ -12,7 +12,7 @@ steps:
DOCKER_PASSWORD: DOCKER_PASSWORD:
from_secret: DOCKER_PASSWORD from_secret: DOCKER_PASSWORD
commands: commands:
- sleep 30 - sleep 15
- docker context create build - docker context create build
- docker buildx create build --use - docker buildx create build --use
- echo $DOCKER_PASSWORD | docker login --username Phil --password-stdin git.hackmi.ch - echo $DOCKER_PASSWORD | docker login --username Phil --password-stdin git.hackmi.ch

View file

@ -1,7 +1,8 @@
version: "3" version: "3"
services: services:
app: app:
build: . image: git.hackmi.ch/hackmi.ch/services:latest
# build: .
ports: ports:
- 8001:80 - 8001:80
environment: environment: