update pipeline
This commit is contained in:
parent
715b9959f2
commit
91a8aac7f7
@ -2,15 +2,18 @@ platform: linux
|
|||||||
|
|
||||||
image_resource:
|
image_resource:
|
||||||
type: registry-image
|
type: registry-image
|
||||||
source: {repository: rust}
|
source:
|
||||||
|
repository: concourse/oci-build-task
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
- name: repo
|
- name: repo
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
- name: image
|
||||||
|
|
||||||
|
params:
|
||||||
|
CONTEXT: repo/
|
||||||
|
|
||||||
run:
|
run:
|
||||||
path: sh
|
path: build
|
||||||
args:
|
|
||||||
- -exc
|
|
||||||
- |
|
|
||||||
echo building in docker
|
|
||||||
dir: "repo"
|
|
||||||
|
|||||||
@ -5,6 +5,11 @@ resources:
|
|||||||
- name: repo
|
- name: repo
|
||||||
type: git
|
type: git
|
||||||
source: {uri: "http://git.mdev.local/mitchell/school_app_api.git"}
|
source: {uri: "http://git.mdev.local/mitchell/school_app_api.git"}
|
||||||
|
- name: docker-image
|
||||||
|
type: registry-image
|
||||||
|
icon: docker
|
||||||
|
source:
|
||||||
|
repository: registry.mdev.local/school_app_api
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- name: test
|
- name: test
|
||||||
@ -30,6 +35,9 @@ jobs:
|
|||||||
file: repo/ci/build-linux.yml
|
file: repo/ci/build-linux.yml
|
||||||
- task: build-docker
|
- task: build-docker
|
||||||
file: repo/ci/build-docker.yml
|
file: repo/ci/build-docker.yml
|
||||||
|
- put: docker-image
|
||||||
|
params:
|
||||||
|
image: image/image.tar
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
plan:
|
plan:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user