Docker stack deploy

This commit is contained in:
Juan Ferrer 2021-04-29 23:59:32 +02:00
parent c83e7108dd
commit 88eeffb186
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#!/usr/bin/env groovy
def call() {
sh 'docker stack deploy --with-registry-auth --prune --compose-file docker-compose.yml $PROJECT_NAME'
}