This commit is contained in:
Philipp Rothmann 2023-01-12 14:09:24 +01:00
parent d090697fc7
commit 539dee6742
2 changed files with 6 additions and 7 deletions

View file

@ -50,9 +50,7 @@ steps:
username: yksflip
from_secret: docker_registry
repo: yksflip/foodsoft
tags:
- foodsoft/latest
- foodsoft/${DRONE_COMMIT_SHA}
tags: ${DRONE_COMMIT}
- name: deployment
image: decentral1se/stack-ssh-deploy:latest
settings:
@ -64,6 +62,7 @@ steps:
user: "root"
port: 22
environment:
IMAGE: yksflip/foodsoft:${DRONE_COMMIT}
STACK_NAME: foodsoft
DOMAIN: "${DRONE_COMMIT_SHA}.foodsoft.dev.local-it.cloud"
LETS_ENCRYPT_ENV: production

View file

@ -56,7 +56,7 @@ x-secrets: &secrets
services:
app:
image: yksflip/foodsoft:latest
image: ${IMAGE}
networks:
- internal
- proxy
@ -85,7 +85,7 @@ services:
- "coop-cloud.${STACK_NAME}.version=1.0.0+4.7.1"
cron:
image: yksflip/foodsoft:latest
image: ${IMAGE}
secrets: *secrets
configs: *configs
entrypoint: *entrypoint
@ -96,7 +96,7 @@ services:
- internal
worker:
image: yksflip/foodsoft:latest
image: ${IMAGE}
secrets: *secrets
configs: *configs
entrypoint: *entrypoint
@ -107,7 +107,7 @@ services:
- internal
smtp:
image: yksflip/foodsoft:latest
image: ${IMAGE}
configs: *configs
entrypoint: *entrypoint
secrets: *secrets