Fix repo reference in get step.

This commit is contained in:
redxef 2022-08-29 21:35:41 +02:00
parent 5da68d0f59
commit 9afde6ced0
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

2
src/in
View file

@ -6,7 +6,7 @@ set -eu
. ./common
oci_dir="$(mktemp -d)"
crane pull --format=oci "$REPOSITORY:@$(jq -r .version "$INPUT_FILE")" "$oci_dir"
crane pull --format=oci "$REPOSITORY:@$(jq -r .version.digest "$INPUT_FILE")" "$oci_dir"
cd "$oci_dir"
tar cf "$1/image.tar" ./*
cd - 1>&2 2>/dev/null