Adds working directory to path and changing find command to loop through split-regsync folder

pull/3171/head^2
Lucas Lopes 2023-10-23 16:28:35 -03:00 committed by Lucas Machado
parent f1799f0eb4
commit 878b0907d4
1 changed files with 2 additions and 1 deletions

View File

@ -70,9 +70,10 @@ jobs:
- name: Sync Images to Registry
run: |
export PATH=$PATH:$(pwd)
head regsync.yaml
ruby ./regsync-split.rb
time find regsync -type f -name split-regsync.yaml -print -exec time regsync once --config '{}' ';'
time find split-regsync -type f -name split-regsync.yaml -print -exec time regsync once --config '{}' ';'
env:
REGISTRY_ENDPOINT: ${{ secrets.REGISTRY_ENDPOINT }}
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}