mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-10 02:28:45 +00:00
Fixes #1252 This is technically a regression as these clients used to work in Anubis v1.22.0, however it is allowable to make this opt-in as most websites do not expect to be serving Docker / OCI registry client traffic. Signed-off-by: Xe Iaso <me@xeiaso.net>
25 lines
371 B
Bash
Executable File
25 lines
371 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
source ../lib/lib.sh
|
|
|
|
build_anubis_ko
|
|
|
|
function cleanup() {
|
|
docker compose down
|
|
}
|
|
|
|
trap cleanup EXIT SIGINT
|
|
|
|
mint_cert registry.local.cetacean.club
|
|
|
|
docker compose up -d
|
|
|
|
backoff-retry skopeo \
|
|
--insecure-policy \
|
|
copy \
|
|
--dest-tls-verify=false \
|
|
docker://hello-world \
|
|
docker://registry.local.cetacean.club:3004/hello-world
|