This commit is contained in:
@ -15,8 +15,8 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Stop containers
|
||||
run: docker compose down
|
||||
- name: Build containers
|
||||
run: bash ./containers-build.sh
|
||||
|
||||
- name: Deploy containers
|
||||
run: docker compose up -d
|
||||
- name: Restart containers
|
||||
run: docker compose up -d --force-recreate
|
||||
|
4
containers-build.sh
Normal file
4
containers-build.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
docker build -t dd-multitool-bot:latest ./bot
|
||||
docker build -t dd-multitool-api:latest ./api
|
||||
docker build -t dd-multitool-web:latest ./web
|
Reference in New Issue
Block a user