Generate CI images with oci-build-task

Update CI to generate images using an `oci-build-task` since
the `registry-image` resource cannot perform actual image builds.

See gh-24197
This commit is contained in:
Phillip Webb
2020-12-10 11:57:49 -08:00
parent fa44a1d0c5
commit c14be4e84b
3 changed files with 43 additions and 14 deletions

View File

@@ -0,0 +1,17 @@
---
platform: linux
image_resource:
type: registry-image
source:
repository: vito/oci-build-task
inputs:
- name: ci-images-git-repo
outputs:
- name: ((ci-image-name))
caches:
- path: ci-image-cache
params:
CONTEXT: ci-images-git-repo/ci/images
DOCKERFILE: ((ci-image-name))/Dockerfile
run:
path: build