mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-11 21:13:02 +02:00
Compare commits
2 commits
9b5d8b47f8
...
928b7c5e4a
Author | SHA1 | Date | |
---|---|---|---|
|
928b7c5e4a |
||
|
af8783ee51 |
2 changed files with 9 additions and 2 deletions
|
@ -37,7 +37,7 @@ creds:
|
||||||
- registry: forgejo.ellis.link
|
- registry: forgejo.ellis.link
|
||||||
user: "{{env \"BUILTIN_REGISTRY_USER\"}}"
|
user: "{{env \"BUILTIN_REGISTRY_USER\"}}"
|
||||||
pass: "{{env \"BUILTIN_REGISTRY_PASSWORD\"}}"
|
pass: "{{env \"BUILTIN_REGISTRY_PASSWORD\"}}"
|
||||||
- registry: glcr.io
|
- registry: registry.gitlab.com
|
||||||
user: "{{env \"GITLAB_USERNAME\"}}"
|
user: "{{env \"GITLAB_USERNAME\"}}"
|
||||||
pass: "{{env \"GITLAB_TOKEN\"}}"
|
pass: "{{env \"GITLAB_TOKEN\"}}"
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,11 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
mirror-images:
|
mirror-images:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
BUILTIN_REGISTRY_USER: ${{ vars.BUILTIN_REGISTRY_USER }}
|
||||||
|
BUILTIN_REGISTRY_PASSWORD: ${{ secrets.BUILTIN_REGISTRY_PASSWORD }}
|
||||||
|
GITLAB_USERNAME: ${{ vars.GITLAB_USERNAME }}
|
||||||
|
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -26,7 +31,9 @@ jobs:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Install regctl
|
- name: Install regctl
|
||||||
uses: https://github.com/regclient/actions/regctl-installer@main
|
uses: https://forgejo.ellis.link/continuwuation/regclient-actions/regctl-installer@main
|
||||||
|
with:
|
||||||
|
binary: regsync
|
||||||
|
|
||||||
- name: Check what images need mirroring
|
- name: Check what images need mirroring
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue