Deploy updates
This commit is contained in:
parent
e471326041
commit
704a2d4964
2 changed files with 6 additions and 6 deletions
|
@ -21,7 +21,7 @@ steps:
|
||||||
REGISTRY_PASSWORD:
|
REGISTRY_PASSWORD:
|
||||||
from_secret: REGISTRY_PASSWORD
|
from_secret: REGISTRY_PASSWORD
|
||||||
commands:
|
commands:
|
||||||
- docker login https://registry.mootfrost.dev -u $REGISTRY_USERNAME -p $REGISTRY_PASSWORD
|
- docker login git.mootfrost.dev -u $REGISTRY_USERNAME -p $REGISTRY_PASSWORD
|
||||||
- docker-compose push
|
- docker-compose push
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: docker/compose:latest
|
image: docker/compose:latest
|
||||||
|
@ -29,7 +29,7 @@ steps:
|
||||||
- name: docker_sock
|
- name: docker_sock
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- docker-compose -p mootfrost-dev up -d
|
- docker-compose up -d
|
||||||
- name: prune
|
- name: prune
|
||||||
image: docker/compose:latest
|
image: docker/compose:latest
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
version: "3.8"
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
mootfrost-dev_backend:
|
web:
|
||||||
image: registry.mootfrost.dev/mootfrost-dev:latest
|
image: git.mootfrost.dev/Mootfrost777/mootfrost-dev:latest
|
||||||
container_name: mootfrost-dev_backend
|
container_name: mootfrost-dev/web
|
||||||
restart: always
|
restart: always
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
- "7632:7632"
|
- "7632:7632"
|
||||||
|
|
Loading…
Add table
Reference in a new issue