diff --git a/.github/data/sync-registry-config.yaml b/build-scripts/hack/sync-registry-config.yaml
similarity index 100%
rename from .github/data/sync-registry-config.yaml
rename to build-scripts/hack/sync-registry-config.yaml
diff --git a/build-scripts/hack/sync-registry.sh b/build-scripts/hack/sync-registry.sh
index 09b8a1356..c4cceab36 100755
--- a/build-scripts/hack/sync-registry.sh
+++ b/build-scripts/hack/sync-registry.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-docker run -v "${GITHUB_WORKSPACE}/.github/data/sync-registry-config.yaml":/config.yaml quay.io/skopeo/stable:v1.15 sync \
+docker run -v "./sync-registry-config.yaml":/config.yaml quay.io/skopeo/stable:v1.15 sync \
   --src yaml \
   --dest docker \
   /config.yaml ghcr.io/canonical \