Use Docker CLI for deployment
This commit is contained in:
+5
-3
@@ -4,8 +4,10 @@ when:
|
||||
|
||||
steps:
|
||||
deploy:
|
||||
image: alpine/git
|
||||
image: docker:cli
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
commands:
|
||||
- cd /woodpecker/src
|
||||
- echo "Pipeline pulled latest portfolio files"
|
||||
- echo "Deploying ByteGeist portfolio"
|
||||
- docker restart bytegeist-portfolio
|
||||
- echo "Deploy complete"
|
||||
|
||||
Reference in New Issue
Block a user