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

View File

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