diff --git a/.github/data/sync-registry-config.yaml b/.github/data/sync-registry-config.yaml index 59da9d31e..b2948eb9f 100644 --- a/.github/data/sync-registry-config.yaml +++ b/.github/data/sync-registry-config.yaml @@ -1,3 +1,3 @@ -k8s.gcr.io/sig-storage: +registry.k8s.io: images-by-semver: pause: "= 3.7" diff --git a/.github/workflows/sync-registry.yaml b/.github/workflows/sync-registry.yaml index 4aea8fe29..d8d180fec 100644 --- a/.github/workflows/sync-registry.yaml +++ b/.github/workflows/sync-registry.yaml @@ -1,6 +1,9 @@ on: schedule: - cron: "0 0 * * *" # Runs every midnight + push: + branches: + - eaudetcobello/KU-617 jobs: publish: diff --git a/build-scripts/hack/sync-registry.sh b/build-scripts/hack/sync-registry.sh index b059ab1d7..8302f9b8f 100644 --- a/build-scripts/hack/sync-registry.sh +++ b/build-scripts/hack/sync-registry.sh @@ -2,7 +2,7 @@ DIR=$(realpath $(dirname "${0}")) -docker run -v "${DIR}/registry-k8s-io.yaml":/config.yaml quay.io/skopeo/stable:v1.15 sync \ +docker run -v "${DIR}/.github/data/sync-registry-config.yaml":/config.yaml quay.io/skopeo/stable:v1.15 sync \ --src yaml \ --dest docker \ /config.yaml ghcr.io/canonical \