This commit is contained in:
parent
65b53812ea
commit
04e21dbf54
1 changed files with 6 additions and 6 deletions
12
.drone.yml
12
.drone.yml
|
@ -56,11 +56,11 @@ steps:
|
|||
from_secret: docker_registry
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_COMMIT}
|
||||
- ${DRONE_COMMIT:0:8}
|
||||
- name: deployment
|
||||
image: git.local-it.org/philipp/stack-ssh-deply:latest
|
||||
settings:
|
||||
stack: ${DRONE_COMMIT}
|
||||
stack: "foodsoft_${DRONE_COMMIT:0:8}"
|
||||
compose: "deployment/compose.yml"
|
||||
deploy_key:
|
||||
from_secret: drone_deploy_key
|
||||
|
@ -71,14 +71,14 @@ steps:
|
|||
reg_pass:
|
||||
from_secret: docker_registry
|
||||
reg_url: git.local-it.org
|
||||
image: git.local-it.org/foodsoft/foodsoft:${DRONE_COMMIT}
|
||||
image: git.local-it.org/foodsoft/foodsoft:${DRONE_COMMIT:0:8}
|
||||
generate_secrets: true
|
||||
networks:
|
||||
- proxy
|
||||
environment:
|
||||
IMAGE: git.local-it.org/foodsoft/foodsoft:${DRONE_COMMIT}
|
||||
STACK_NAME: ${DRONE_COMMIT}
|
||||
DOMAIN: "${DRONE_COMMIT}.foodsoft.dev.local-it.cloud"
|
||||
IMAGE: git.local-it.org/foodsoft/foodsoft:${DRONE_COMMIT:0:8}
|
||||
STACK_NAME: "foodsoft_${DRONE_COMMIT:0:8}"
|
||||
DOMAIN: "${DRONE_COMMIT:0:8}.foodsoft.dev.local-it.cloud"
|
||||
LETS_ENCRYPT_ENV: production
|
||||
FOODCOOP_MULTI_INSTALL: true
|
||||
FOODCOOP_NAME: example
|
||||
|
|
Loading…
Reference in a new issue