Skip to content

Commit 89ed979

Browse files
kczulkoalexeagle
andauthored
Quotes removal from MEDIA_TYPE string. (#577)
Co-authored-by: Alex Eagle <[email protected]>
1 parent 21c4897 commit 89ed979

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oci/private/tarball.sh.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if [[ "${MANIFESTS_LENGTH}" != 1 ]]; then
2525
exit 1
2626
fi
2727

28-
MEDIA_TYPE=$("${YQ}" eval ".manifests[0].mediaType" "${INDEX_FILE}")
28+
MEDIA_TYPE=$("${YQ}" --unwrapScalar eval ".manifests[0].mediaType" "${INDEX_FILE}")
2929

3030
# Check that we know how to generate the output format given the input format.
3131
# We may expand the supported options here in the future, but for now,

0 commit comments

Comments
 (0)