Fix source dir when pushing image.
This commit is contained in:
parent
bb77c424d9
commit
8f9ff6d271
1 changed files with 1 additions and 1 deletions
2
src/out
2
src/out
|
@ -8,5 +8,5 @@ set -eu
|
|||
IMAGE_REFS_FILE="$(mktemp -t)"
|
||||
oci_dir="$(mktemp -d)"
|
||||
pushd "$oci_dir" && tar xf "$1/$(jq -r .params.image < "$INPUT_FILE")" && popd
|
||||
crane push "$1" "$REPOSITORY:$TAG" --image-refs="$IMAGE_REFS_FILE"
|
||||
crane push "$oci_dir" "$REPOSITORY:$TAG" --image-refs="$IMAGE_REFS_FILE"
|
||||
sed 's/^[^@]*@//' < "$IMAGE_REFS_FILE"
|
||||
|
|
Reference in a new issue