mirror of
https://github.com/muerwre/vk-tg-bot.git
synced 2025-04-24 22:46:41 +07:00
fixed
This commit is contained in:
parent
122a21623d
commit
6b0d4c2495
2 changed files with 6 additions and 4 deletions
|
@ -56,6 +56,10 @@ steps:
|
||||||
from_secret: build_path
|
from_secret: build_path
|
||||||
ENV_PATH:
|
ENV_PATH:
|
||||||
from_secret: env_path
|
from_secret: env_path
|
||||||
|
DOCKER_REGISTRY:
|
||||||
|
from_secret: docker_registry
|
||||||
|
DOCKER_REPO:
|
||||||
|
from_secret: docker_repo
|
||||||
settings:
|
settings:
|
||||||
port:
|
port:
|
||||||
from_secret: rsync_port
|
from_secret: rsync_port
|
||||||
|
@ -65,7 +69,7 @@ steps:
|
||||||
from_secret: rsync_user
|
from_secret: rsync_user
|
||||||
key:
|
key:
|
||||||
from_secret: rsync_key
|
from_secret: rsync_key
|
||||||
envs: [build_path, env_path]
|
envs: [build_path, env_path, docker_registry, docker_repo]
|
||||||
script_stop: true
|
script_stop: true
|
||||||
script:
|
script:
|
||||||
- DRONE_BRANCH=${DRONE_BRANCH} CONFIG_PATH=$${ENV_PATH}/${DRONE_BRANCH}/config.yml docker-compose -f $${BUILD_PATH}/${DRONE_BRANCH}/docker-compose.yml --env-file $${ENV_PATH}/${DRONE_BRANCH}/.env build
|
- DRONE_BRANCH=${DRONE_BRANCH} CONFIG_PATH=$${ENV_PATH}/${DRONE_BRANCH}/config.yml docker-compose -f $${BUILD_PATH}/${DRONE_BRANCH}/docker-compose.yml --env-file $${ENV_PATH}/${DRONE_BRANCH}/.env build
|
||||||
|
|
|
@ -16,9 +16,7 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
PORT: 80
|
PORT: 80
|
||||||
build:
|
image: ${DOCKER_REGISTRY}/${DOCKER_REPO}:${DRONE_BRANCH}
|
||||||
context: ../
|
|
||||||
dockerfile: ./docker/Dockerfile
|
|
||||||
ports:
|
ports:
|
||||||
- ${EXPOSE}:80
|
- ${EXPOSE}:80
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue