CI: build all compose services (app+db) via docker compose build before deploy
Some checks failed
build-and-deploy / build (push) Failing after 10s
Some checks failed
build-and-deploy / build (push) Failing after 10s
This commit is contained in:
parent
8eabe3b5e8
commit
17d39cf622
1 changed files with 2 additions and 2 deletions
|
|
@ -20,6 +20,6 @@ jobs:
|
|||
# ship source to the Pi build dir
|
||||
ssh sirius@rpi.tail14a963.ts.net 'rm -rf /opt/siriusdevops/build/osint-dashboard && mkdir -p /opt/siriusdevops/build/osint-dashboard'
|
||||
scp -r . sirius@rpi.tail14a963.ts.net:/opt/siriusdevops/build/osint-dashboard/
|
||||
# build arm64 image on the Pi's native docker, then bring up the stack
|
||||
ssh sirius@rpi.tail14a963.ts.net 'cd /opt/siriusdevops/build/osint-dashboard && docker build --platform linux/arm64 -t localhost/osint-dashboard:latest . && docker compose up -d --force-recreate && docker image prune -f'
|
||||
# build arm64 images on the Pi's native docker, then bring up the stack
|
||||
ssh sirius@rpi.tail14a963.ts.net 'cd /opt/siriusdevops/build/osint-dashboard && docker compose build --no-cache && docker compose up -d --force-recreate && docker image prune -f'
|
||||
echo 'osint-dashboard deployed'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue