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