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
|
from_secret: docker_registry
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- ${DRONE_COMMIT}
|
- ${DRONE_COMMIT:0:8}
|
||||||
- name: deployment
|
- name: deployment
|
||||||
image: git.local-it.org/philipp/stack-ssh-deply:latest
|
image: git.local-it.org/philipp/stack-ssh-deply:latest
|
||||||
settings:
|
settings:
|
||||||
stack: ${DRONE_COMMIT}
|
stack: "foodsoft_${DRONE_COMMIT:0:8}"
|
||||||
compose: "deployment/compose.yml"
|
compose: "deployment/compose.yml"
|
||||||
deploy_key:
|
deploy_key:
|
||||||
from_secret: drone_deploy_key
|
from_secret: drone_deploy_key
|
||||||
|
@ -71,14 +71,14 @@ steps:
|
||||||
reg_pass:
|
reg_pass:
|
||||||
from_secret: docker_registry
|
from_secret: docker_registry
|
||||||
reg_url: git.local-it.org
|
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
|
generate_secrets: true
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
environment:
|
environment:
|
||||||
IMAGE: git.local-it.org/foodsoft/foodsoft:${DRONE_COMMIT}
|
IMAGE: git.local-it.org/foodsoft/foodsoft:${DRONE_COMMIT:0:8}
|
||||||
STACK_NAME: ${DRONE_COMMIT}
|
STACK_NAME: "foodsoft_${DRONE_COMMIT:0:8}"
|
||||||
DOMAIN: "${DRONE_COMMIT}.foodsoft.dev.local-it.cloud"
|
DOMAIN: "${DRONE_COMMIT:0:8}.foodsoft.dev.local-it.cloud"
|
||||||
LETS_ENCRYPT_ENV: production
|
LETS_ENCRYPT_ENV: production
|
||||||
FOODCOOP_MULTI_INSTALL: true
|
FOODCOOP_MULTI_INSTALL: true
|
||||||
FOODCOOP_NAME: example
|
FOODCOOP_NAME: example
|
||||||
|
|
Loading…
Reference in a new issue