forked from openebs/rawfile-localpv
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use skopeo to sync csi images to canonical org
- Loading branch information
Showing
4 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
k8s.gcr.io/sig-storage: | ||
images-by-semver: | ||
csi-node-driver-registrar: "= v2.10.0" | ||
csi-provisioner: "= v3.4.1" | ||
csi-resizer: "= v1.7.0" | ||
csi-snapshotter: "= v6.2.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Synchronize CSI Images | ||
|
||
on: | ||
push: | ||
branches: | ||
- "KU-384/sync-csi-images" | ||
schedule: | ||
- cron: "0 0 * * *" # Runs every midnight | ||
jobs: | ||
synchronize: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Skopeo Synch | ||
run: | | ||
docker run -v ${GITHUB_WORKSPACE}:/tmp/ quay.io/skopeo/stable:v1.15 sync \ | ||
--src yaml \ | ||
--dest docker \ | ||
/tmp/.github/data/sync-csi-images-config.yaml ghcr.io/canonical/sig-storage \ | ||
--format oci \ | ||
--dest-creds ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters