Skip to content

Commit 7552d28

Browse files
committed
Update example to include using the built image
Signed-off-by: Taylor Silva <tsilva@pivotal.io>
1 parent 881a3c5 commit 7552d28

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

pipelines/build-and-push-simple-image.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,24 @@ jobs:
3131
type: registry-image
3232
source:
3333
# Check out the README for oci-build-task at
34-
# https://github.com/vito/oci-build-task
35-
repository: vito/oci-build-task
34+
# https://github.com/concourse/oci-build-task
35+
repository: concourse/oci-build-task
3636
inputs:
3737
- name: concourse-examples
3838
outputs:
3939
- name: image
4040
params:
4141
CONTEXT: concourse-examples/Dockerfiles/simple
42+
UNPACK_ROOTFS: "true" # only needed if using image in a future step
4243
run:
4344
path: build
45+
- task: use-built-image-in-task
46+
image: image
47+
config:
48+
platform: linux
49+
run:
50+
path: cat
51+
args: ["/stranger"]
4452
- put: simple-image
4553
params:
4654
image: image/image.tar

0 commit comments

Comments
 (0)