File tree Expand file tree Collapse file tree 3 files changed +48
-0
lines changed Expand file tree Collapse file tree 3 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ name : auto-sync-image-18.yaml
2+ on :
3+ push :
4+ branches : [ main ]
5+ paths :
6+ - " skopeo/auto-sync-image-18.yaml"
7+ - " .github/workflows/auto-sync-image-18.yaml"
8+ schedule :
9+ - cron : ' 0 16 * * *'
10+ workflow_dispatch :
11+
12+ env :
13+ USERNAME : ${{ vars.A_REGISTRY_USERNAME }}
14+ PASSWORD : ${{ secrets.A_REGISTRY_TOKEN }}
15+
16+ jobs :
17+ image-sync :
18+ runs-on : ubuntu-22.04
19+
20+ steps :
21+ - name : Checkout
22+ uses : actions/checkout@v2
23+
24+ - name : check podman
25+ run : |
26+ sudo podman version
27+
28+ - name : sync images
29+ run : |
30+ sudo podman run -it --rm -v ${PWD}:/workspace -w /workspace quay.io/skopeo/stable:latest \
31+ sync --src yaml --dest docker skopeo/auto-sync-image-18.yaml ${{ vars.A_REGISTRY_NAME }}/${{ vars.A_REGISTRY_REPOSITORY }} \
32+ --dest-username $USERNAME --dest-password "$PASSWORD" \
33+ --keep-going --retry-times 2 --all
Original file line number Diff line number Diff line change @@ -5,4 +5,7 @@ docker.io:
55 labring/gitlab : []
66 labring/kyverno : []
77 labring/piraeus-operator : []
8+ labring/loki-stack : []
9+ labring/grafana : []
10+ labring/grafana-operator : []
811 tls-verify : false
Original file line number Diff line number Diff line change 1+ docker.io :
2+ images :
3+ labring/promtail : []
4+ labring/sonarqube : []
5+ labring/discourse : []
6+ labring/jenkins-operator : []
7+ labring/nextcloud : []
8+ labring/argo-rollouts : []
9+ labring/openebs-nfs : []
10+ labring/argo-workflows : []
11+ labring/teleport : []
12+ tls-verify : false
You can’t perform that action at this time.
0 commit comments