mirror of https://git.rancher.io/charts
commit
44b5a55842
|
@ -17,7 +17,8 @@ jobs:
|
|||
|
||||
# Need to remove export version once rancher/charts gets the latest version
|
||||
# of charts-build-script binary.
|
||||
- name: Generate Regsync
|
||||
|
||||
- name: Generate Regsync Config
|
||||
run: |
|
||||
export CHARTS_BUILD_SCRIPT_VERSION=v0.4.2
|
||||
make pull-scripts
|
||||
|
@ -25,12 +26,13 @@ jobs:
|
|||
|
||||
- name: Install Regsync
|
||||
run: |
|
||||
curl -o regsync https://github.com/regclient/regclient/releases/download/v0.4.8/regsync-linux-amd64
|
||||
curl --silent --fail --location --output regsync https://github.com/regclient/regclient/releases/download/v0.4.8/regsync-linux-amd64
|
||||
chmod +x regsync
|
||||
|
||||
- name: Sync Charts
|
||||
- name: Sync Images to Registry
|
||||
run: |
|
||||
time ./regsync -v debug check --config regsync.yaml
|
||||
head regsync.yaml
|
||||
time ./regsync once --config regsync.yaml
|
||||
env:
|
||||
REGISTRY_ENDPOINT: ${{ secrets.REGISTRY_ENDPOINT }}
|
||||
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
|
||||
|
|
Loading…
Reference in New Issue