pipeline updates

This commit is contained in:
Mitchell Marino
2023-03-16 23:09:21 -05:00
parent 068dd20e9e
commit 21007a1269
2 changed files with 9 additions and 3 deletions
+8 -2
View File
@@ -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