ci: publish packages and the catalogue to the Gitea registry
publish / publish (push) Successful in 2m19s

This commit is contained in:
sam committed 2026-10-31 18:19:52 +11:00
1 parent 86501fa1d4
commit 55ae2b6533
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -4,11 +4,11 @@
# the catalogue with its issue time and signs it; archie-core refuses a
# catalogue older than the newest it has accepted, so the stamp is what keeps
# an older validly signed catalogue from being replayed.
# ARCHIPELAGO_CATALOGUE_KEY=... scripts/publish.sh ghcr.io/samcharles93/archipelago
# ARCHIPELAGO_CATALOGUE_KEY=... scripts/publish.sh git.catlow.cloud/sam/archipelago
# Each package is <surface>-<name>:<version>; the catalogue is catalogue:latest.
set -euo pipefail
registry=${1:?registry prefix, e.g. ghcr.io/samcharles93/archipelago}
registry=${1:?registry prefix, e.g. git.catlow.cloud/sam/archipelago}
root=$(cd "$(dirname "$0")/.." && pwd)
work=$(mktemp -d)
trap 'rm -rf "$work"' EXIT