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:
17
ci/tasks/build-ci-image.yml
Normal file
17
ci/tasks/build-ci-image.yml
Normal 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
|
||||
Reference in New Issue
Block a user