pipeline updates
This commit is contained in:
+8
-2
@@ -16,9 +16,12 @@ resources:
|
||||
icon: docker
|
||||
source:
|
||||
repository: registry.mdev.local/school_app_api
|
||||
insecure: true
|
||||
tag: latest
|
||||
- name: deploy
|
||||
type: docker-compose
|
||||
source:
|
||||
port: 2375
|
||||
host: mdev.local
|
||||
|
||||
jobs:
|
||||
@@ -49,7 +52,6 @@ jobs:
|
||||
- put: docker-image
|
||||
params:
|
||||
image: image/image.tar
|
||||
version: latest
|
||||
|
||||
- name: deploy
|
||||
plan:
|
||||
@@ -58,7 +60,11 @@ jobs:
|
||||
passed: [test, build]
|
||||
- put: deploy
|
||||
params:
|
||||
DOCKER_HOST: "tcp://mdev.local"
|
||||
command: restart
|
||||
# compose_file: repo/docker-compose.yml
|
||||
path: repo
|
||||
pull: true
|
||||
path: "/home/mitchell/prod/school_app_api"
|
||||
# path: home/mitchell/prod/school_app_api
|
||||
# path: code
|
||||
|
||||
|
||||
Reference in New Issue
Block a user