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
|
||||
ENV_PATH:
|
||||
from_secret: env_path
|
||||
DOCKER_REGISTRY:
|
||||
from_secret: docker_registry
|
||||
DOCKER_REPO:
|
||||
from_secret: docker_repo
|
||||
settings:
|
||||
port:
|
||||
from_secret: rsync_port
|
||||
|
@ -65,7 +69,7 @@ steps:
|
|||
from_secret: rsync_user
|
||||
key:
|
||||
from_secret: rsync_key
|
||||
envs: [build_path, env_path]
|
||||
envs: [build_path, env_path, docker_registry, docker_repo]
|
||||
script_stop: true
|
||||
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
|
||||
|
|
|
@ -16,9 +16,7 @@ services:
|
|||
restart: always
|
||||
environment:
|
||||
PORT: 80
|
||||
build:
|
||||
context: ../
|
||||
dockerfile: ./docker/Dockerfile
|
||||
image: ${DOCKER_REGISTRY}/${DOCKER_REPO}:${DRONE_BRANCH}
|
||||
ports:
|
||||
- ${EXPOSE}:80
|
||||
volumes:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue