fix: use relative ocidir path to avoid regctl reference parser rejecting leading slash
Some checks failed
Docker / build (push) Failing after 18m50s

This commit is contained in:
2026-06-29 22:29:41 +02:00
parent 8a1c700d8e
commit 5419ae8cde

View File

@@ -107,11 +107,11 @@ jobs:
env:
TAGS: ${{ steps.meta.outputs.tags }}
run: |
mkdir -p /tmp/lmr-std-oci
tar -xf /tmp/lmr-standard.tar -C /tmp/lmr-std-oci
mkdir -p /tmp/oci/std
tar -xf /tmp/lmr-standard.tar -C /tmp/oci/std
echo "$TAGS" | while IFS= read -r tag; do
[ -z "$tag" ] && continue
regctl image copy "ocidir:/tmp/lmr-std-oci" "$tag"
(cd /tmp/oci && regctl image copy "ocidir:std" "$tag")
done
- name: Push bundled image
@@ -119,9 +119,9 @@ jobs:
env:
TAGS: ${{ steps.meta-bundled.outputs.tags }}
run: |
mkdir -p /tmp/lmr-bnd-oci
tar -xf /tmp/lmr-bundled.tar -C /tmp/lmr-bnd-oci
mkdir -p /tmp/oci/bnd
tar -xf /tmp/lmr-bundled.tar -C /tmp/oci/bnd
echo "$TAGS" | while IFS= read -r tag; do
[ -z "$tag" ] && continue
regctl image copy "ocidir:/tmp/lmr-bnd-oci" "$tag"
(cd /tmp/oci && regctl image copy "ocidir:bnd" "$tag")
done