update pipeline

This commit is contained in:
Mitchell Marino 2023-02-28 21:23:44 -06:00
parent 715b9959f2
commit 91a8aac7f7
2 changed files with 18 additions and 7 deletions

View File

@ -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

View File

@ -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: