Skip to content

Commit

Permalink
fix: skopeo cannot deal with : in image names
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Nützi <[email protected]>
  • Loading branch information
gabyx committed Jul 6, 2024
1 parent 5446818 commit 8235344
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ function main() {

image_name=$(nix eval --raw "./tools/nix#images.rdf-protect.imageName")
image_tag=$(nix eval --raw "./tools/nix#images.rdf-protect.imageTag")
dir="build/image/$image_name:$image_tag.tar.gz"

# We cannot use `:` before the tag, because `skopeo`
# is unable to read this path correctly, because it
# stupidly deals with it.
dir="build/image/$image_name|$image_tag.tar.gz"

cd "$ROOT_DIR"

Expand Down

0 comments on commit 8235344

Please sign in to comment.