2 ms·
Why not just (from the local machine) run docker buildx build --push -t ghcr.io/abc/app . && ssh myvm 'cd /my/app/path && docker compose pull && docker compo
by yjftsjthsd-h 2y ago
Why not just (from the local machine) run
docker buildx build --push -t ghcr.io/abc/app . && ssh myvm 'cd /my/app/path && docker compose pull && docker compose up -d'
?
- qudat 2y agoThat's a really good point! That might work if you have a single VM but it's a little more complicated when you have an app on multiple instances. pipe is a multicast pubsub which means you can have many subscribers.