Skip to content

Commit 2bb5f16

Browse files
committed
ci: publish Omarchy bundle with relative paths
1 parent 8b47e61 commit 2bb5f16

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

‎tests/midscene/publish-omarchy-vm.sh‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,14 @@ tar -C "$BASE_DIR" --sparse -I 'zstd -T0 -6' -cf "$ARCHIVE" \
2323
sha256sum "$ARCHIVE" | sed 's# .*/# #' >"$BUNDLE_DIR/SHA256SUMS"
2424
du -h "$ARCHIVE"
2525

26-
oras push "$IMAGE" \
27-
--artifact-type application/vnd.lifeos.omarchy-vm.v1 \
28-
--annotation "org.opencontainers.image.source=https://github.com/$GITHUB_REPOSITORY" \
29-
--annotation "org.opencontainers.image.version=$OMARCHY_ISO_VERSION" \
30-
"$ARCHIVE:application/vnd.lifeos.omarchy-vm.layer.v1+zstd" \
31-
"$BUNDLE_DIR/SHA256SUMS:text/plain"
26+
(
27+
cd "$BUNDLE_DIR"
28+
oras push "$IMAGE" \
29+
--artifact-type application/vnd.lifeos.omarchy-vm.v1 \
30+
--annotation "org.opencontainers.image.source=https://github.com/$GITHUB_REPOSITORY" \
31+
--annotation "org.opencontainers.image.version=$OMARCHY_ISO_VERSION" \
32+
"omarchy-base.tar.zst:application/vnd.lifeos.omarchy-vm.layer.v1+zstd" \
33+
"SHA256SUMS:text/plain"
34+
)
3235

3336
echo "PASS: published $IMAGE"

0 commit comments

Comments
 (0)