update pipeline, and check use local docker image

This commit is contained in:
Mitchell Marino
2022-12-18 18:34:10 -06:00
parent 47709553fc
commit 57e2395998
2 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ platform: linux
image_resource:
type: registry-image
source: {repository: rust}
source: {repository: rust-all}
inputs:
- name: repo
+34
View File
@@ -0,0 +1,34 @@
resources:
- name: repo
type: git
source: {uri: "http://192.168.0.201:3000/mitchell/school_app_api.git"}
jobs:
- name: test
plan:
- get: repo
trigger: true
- task: test
file: repo/ci/test.yml
- task: check-fmt
file: repo/ci/check-fmt.yml
- task: lint
file: repo/ci/lint.yml
- task: audit
file: repo/ci/audit.yml
- name: build
plan:
- get: repo
trigger: true
passed: [test]
- task: build-linux
file: repo/ci/build-linux.yml
- task: build-docker
file: repo/ci/build-docker.yml
- name: deploy
plan:
- get: repo
trigger: true
passed: [test, build]
- task: deploy
file: repo/ci/deploy.yml