From a8b9098277f99000ad285d3c466c507997580ba5 Mon Sep 17 00:00:00 2001 From: eaudetcobello Date: Tue, 21 May 2024 16:27:39 -0400 Subject: [PATCH] Review comments --- .github/data/sync-registry-config.yaml | 2 +- .github/workflows/sync-registry.yaml | 3 +++ build-scripts/hack/sync-registry.sh | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/data/sync-registry-config.yaml b/.github/data/sync-registry-config.yaml index 59da9d31e7..b2948eb9f1 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 4aea8fe29e..d8d180fecd 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 b059ab1d7a..8302f9b8f6 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 \