Skip to content

Use skopeo to sync csi images to canonical org #1

Use skopeo to sync csi images to canonical org

Use skopeo to sync csi images to canonical org #1

on:
push:
branches:
- "KU-384/sync-csi-images"
schedule:
- cron: "0 0 * * *" # Runs every midnight

Check failure on line 7 in .github/workflows/sync-csi-images.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/sync-csi-images.yaml

Invalid workflow file

You have an error in your yaml syntax on line 7
jobs:
publish:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Skopeo
run: |
docker run -v $HOME:$HOME quay.io/skopeo/stable:v1.15 sync \
--src yaml \
--dest docker \
.github/data/sync-csi-images-config.yaml ghcr.io/canonical/sig-storage \
--format oci \
--dest-creds ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}