|
|
|
@ -31,16 +31,24 @@ jobs: |
|
|
|
type: registry-image |
|
|
|
source: |
|
|
|
# Check out the README for oci-build-task at |
|
|
|
# https://github.com/vito/oci-build-task |
|
|
|
repository: vito/oci-build-task |
|
|
|
# https://github.com/concourse/oci-build-task |
|
|
|
repository: concourse/oci-build-task |
|
|
|
inputs: |
|
|
|
- name: concourse-examples |
|
|
|
outputs: |
|
|
|
- name: image |
|
|
|
params: |
|
|
|
CONTEXT: concourse-examples/Dockerfiles/simple |
|
|
|
UNPACK_ROOTFS: "true" # only needed if using image in a future step |
|
|
|
run: |
|
|
|
path: build |
|
|
|
- task: use-built-image-in-task |
|
|
|
image: image |
|
|
|
config: |
|
|
|
platform: linux |
|
|
|
run: |
|
|
|
path: cat |
|
|
|
args: ["/stranger"] |
|
|
|
- put: simple-image |
|
|
|
params: |
|
|
|
image: image/image.tar |