From e41c9edaa4367a140663c22f7dd8a92c25c3b6e8 Mon Sep 17 00:00:00 2001 From: eaudetcobello Date: Mon, 27 May 2024 10:25:22 -0400 Subject: [PATCH] Use current dir in config file path --- build-scripts/hack/sync-registry-config.yaml | 4 ++++ build-scripts/hack/sync-registry.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build-scripts/hack/sync-registry-config.yaml b/build-scripts/hack/sync-registry-config.yaml index b2948eb9f..1656ebb41 100644 --- a/build-scripts/hack/sync-registry-config.yaml +++ b/build-scripts/hack/sync-registry-config.yaml @@ -1,3 +1,7 @@ registry.k8s.io: images-by-semver: pause: "= 3.7" + +quay.io: + images-by-semver: + skopeo/stable: "= v1.15.0" diff --git a/build-scripts/hack/sync-registry.sh b/build-scripts/hack/sync-registry.sh index 4c7009d5b..96d8981fa 100755 --- a/build-scripts/hack/sync-registry.sh +++ b/build-scripts/hack/sync-registry.sh @@ -1,6 +1,6 @@ #!/bin/bash -docker run -v "./sync-registry-config.yaml":/config.yaml ghcr.io/canonical/stable:1.15.0 sync \ +docker run -v "$(pwd)/sync-registry-config.yaml":/config.yaml ghcr.io/canonical/stable:1.15.0 sync \ --src yaml \ --dest docker \ /config.yaml ghcr.io/canonical \