feat: added remote compilation to the docker build pipeline
This commit is contained in:
+4
-1
@@ -1,4 +1,7 @@
|
||||
#! /usr/bin/env zsh
|
||||
git push
|
||||
echo building docker image and pushing to remote server
|
||||
docker build -t git.riverrooks.dev/venus/river-rooks-blog:latest /home/venus/code/blog/
|
||||
docker push git.riverrooks.dev/venus/river-rooks-blog:latest
|
||||
echo docker image built and pushed, now updating remote server
|
||||
ssh sol "cd docker/blog && ./docker-update.zsh"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user