diff --git a/.github/pipeline-version b/.github/pipeline-version index bd8bf88..a8fdfda 100644 --- a/.github/pipeline-version +++ b/.github/pipeline-version @@ -1 +1 @@ -1.7.0 +1.8.1 diff --git a/.github/workflows/update-draft-release.yml b/.github/workflows/update-draft-release.yml index 143b691..84cc027 100644 --- a/.github/workflows/update-draft-release.yml +++ b/.github/workflows/update-draft-release.yml @@ -59,14 +59,14 @@ jobs: for BUILDPACK in $( jq -n -r \ --argjson PAYLOAD "${PAYLOAD}" \ - '$PAYLOAD.primary.buildpacks[].image' + '$PAYLOAD.primary.buildpacks[].uri | capture("(?:.+://)?(?.+)") | .image' ); do crane export "${BUILDPACK}" - | tar xf - --absolute-names --strip-components 1 --wildcards "/cnb/buildpacks/*/*/buildpack.toml" done fi if [[ -e package.toml ]]; then - for PACKAGE in $(yj -t < package.toml | jq -r '.dependencies[].image'); do + for PACKAGE in $(yj -t < package.toml | jq -r '.dependencies[].uri | capture("(?:.+://)?(?.+)") | .image'); do crane export "${PACKAGE}" - | tar xf - --absolute-names --strip-components 1 --wildcards "/cnb/buildpacks/*/*/buildpack.toml" done fi