Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/auto-sync-image-17.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: auto-sync-image-17.yaml
on:
push:
branches: [ main ]
paths:
- "skopeo/auto-sync-image-17.yaml"
- ".github/workflows/auto-sync-image-17.yaml"
schedule:
- cron: '0 16 * * *'
workflow_dispatch:

env:
USERNAME: ${{ vars.A_REGISTRY_USERNAME }}
PASSWORD: ${{ secrets.A_REGISTRY_TOKEN }}

jobs:
image-sync:
runs-on: ubuntu-22.04

steps:
- name: Checkout
uses: actions/checkout@v2

- name: check podman
run: |
sudo podman version

- name: sync images
run: |
sudo podman run -it --rm -v ${PWD}:/workspace -w /workspace quay.io/skopeo/stable:latest \
sync --src yaml --dest docker skopeo/auto-sync-image-17.yaml ${{ vars.A_REGISTRY_NAME }}/${{ vars.A_REGISTRY_REPOSITORY }} \
--dest-username $USERNAME --dest-password "$PASSWORD" \
--keep-going --retry-times 2 --all
4 changes: 4 additions & 0 deletions skopeo/auto-sync-image-17.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
docker.io:
images:
labring/csi-driver-nfs: []
tls-verify: false