unpack_rootfs param not causing the image to unpack
DanielLearner opened this issue · 2 comments
DanielLearner commented
After the last step in my docker file the task ends without "exporting to oci image format".
- name: get_repo_and_build_image
plan:
- get: git_repo
trigger: true
- task: build
privileged: true
config:
platform: linux
image_resource:
type: registry-image
source:
repository: vito/oci-build-task
params:
DOCKERFILE: git_repo/compose/Dockerfile
CONTEXT: git_repo
unpack_rootfs: true
inputs:
- name: git_repo
outputs:
- name: my_image
run:
path: build
vito commented
needs to be UNPACK_ROOTFS
, not unpack_rootfs
DanielLearner commented
For future reference, lower case unpack_rootfs seems to work. My issue was solved when I changed
outputs:
- name: my_image
to
outputs:
- name: image