.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
229325cab2
commit
d5bb390452
|
@ -79,7 +79,7 @@ steps:
|
||||||
LOCAL_DOCKER_REGISTRY:
|
LOCAL_DOCKER_REGISTRY:
|
||||||
from_secret: local-docker-registry
|
from_secret: local-docker-registry
|
||||||
commands:
|
commands:
|
||||||
- cd ngrok2
|
- cd ngrok-gitea
|
||||||
- docker build . -t $${LOCAL_DOCKER_REGISTRY}ngrok-gitea
|
- docker build . -t $${LOCAL_DOCKER_REGISTRY}ngrok-gitea
|
||||||
- docker push $${LOCAL_DOCKER_REGISTRY}ngrok-gitea
|
- docker push $${LOCAL_DOCKER_REGISTRY}ngrok-gitea
|
||||||
- name: build-letsencrypt-nginx
|
- name: build-letsencrypt-nginx
|
||||||
|
|
|
@ -149,7 +149,7 @@ steps:
|
||||||
LOCAL_DOCKER_REGISTRY:
|
LOCAL_DOCKER_REGISTRY:
|
||||||
from_secret: local-docker-registry
|
from_secret: local-docker-registry
|
||||||
commands:
|
commands:
|
||||||
- cd ngrok2
|
- cd ngrok-gitea
|
||||||
- docker build . -t $${LOCAL_DOCKER_REGISTRY}ngrok-gitea
|
- docker build . -t $${LOCAL_DOCKER_REGISTRY}ngrok-gitea
|
||||||
- docker push $${LOCAL_DOCKER_REGISTRY}ngrok-gitea
|
- docker push $${LOCAL_DOCKER_REGISTRY}ngrok-gitea
|
||||||
- name: build-letsencrypt-nginx
|
- name: build-letsencrypt-nginx
|
||||||
|
|
|
@ -68,6 +68,7 @@ def steps(name, dependsOn):
|
||||||
]),
|
]),
|
||||||
wait(15, "wait"),
|
wait(15, "wait"),
|
||||||
build("guacamole-postgresql"),
|
build("guacamole-postgresql"),
|
||||||
|
build("ngrok-gitea"),
|
||||||
{
|
{
|
||||||
"name": "build",
|
"name": "build",
|
||||||
"image": "alpine",
|
"image": "alpine",
|
||||||
|
|
|
@ -47,7 +47,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "4040:4040"
|
- "4040:4040"
|
||||||
volumes:
|
volumes:
|
||||||
- ./ngrok2/ngrok.m._yml:/home/ngrok/.ngrok2/ngrok._yml:ro
|
- ./ngrok-gitea/ngrok.m._yml:/home/ngrok/.ngrok2/ngrok._yml:ro
|
||||||
environment:
|
environment:
|
||||||
- GIT_DOMAIN=${GIT_DOMAIN}
|
- GIT_DOMAIN=${GIT_DOMAIN}
|
||||||
- DRONE_DOMAIN=${DRONE_DOMAIN}
|
- DRONE_DOMAIN=${DRONE_DOMAIN}
|
||||||
|
|
|
@ -101,14 +101,13 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "4040:4040"
|
- "4040:4040"
|
||||||
volumes:
|
volumes:
|
||||||
- ./ngrok2/ngrok._yml:/home/ngrok/.ngrok2/ngrok._yml:ro
|
- ./ngrok-gitea/ngrok._yml:/home/ngrok/.ngrok2/ngrok._yml:ro
|
||||||
environment:
|
environment:
|
||||||
- GIT_DOMAIN=${GIT_DOMAIN}
|
- GIT_DOMAIN=${GIT_DOMAIN}
|
||||||
- DRONE_DOMAIN=${DRONE_DOMAIN}
|
- DRONE_DOMAIN=${DRONE_DOMAIN}
|
||||||
- REMOTE_DOMAIN=${REMOTE_DOMAIN}
|
- REMOTE_DOMAIN=${REMOTE_DOMAIN}
|
||||||
- BLOG_DOMAIN=${BLOG_DOMAIN}
|
- BLOG_DOMAIN=${BLOG_DOMAIN}
|
||||||
- CHAT_DOMAIN=${CHAT_DOMAIN}
|
- CHAT_DOMAIN=${CHAT_DOMAIN}
|
||||||
#command: /bin/sh -c " cat /run/secrets/ngrok-auth-token /home/ngrok/.ngrok2/ngrok._yml > /home/ngrok/.ngrok2/ngrok.yml && ngrok start --all"
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- gitea
|
- gitea
|
||||||
networks:
|
networks:
|
||||||
|
|
|
@ -47,7 +47,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "4040:4040"
|
- "4040:4040"
|
||||||
volumes:
|
volumes:
|
||||||
- ./ngrok2/ngrok.m._yml:/home/ngrok/.ngrok2/ngrok._yml:ro
|
- ./ngrok-gitea/ngrok.m._yml:/home/ngrok/.ngrok2/ngrok._yml:ro
|
||||||
environment:
|
environment:
|
||||||
- GIT_DOMAIN=${GIT_DOMAIN}
|
- GIT_DOMAIN=${GIT_DOMAIN}
|
||||||
- DRONE_DOMAIN=${DRONE_DOMAIN}
|
- DRONE_DOMAIN=${DRONE_DOMAIN}
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
docker build ngrok2 -t ${LOCAL_DOCKER_REGISTRY}/ngrok-gitea
|
docker build ngrok-gitea -t ${LOCAL_DOCKER_REGISTRY}/ngrok-gitea
|
||||||
docker push ${LOCAL_DOCKER_REGISTRY}/ngrok-gitea
|
docker push ${LOCAL_DOCKER_REGISTRY}/ngrok-gitea
|
Reference in New Issue