From 878b0907d4546dd5d01ed4a296f9038c96c9119d Mon Sep 17 00:00:00 2001 From: Lucas Lopes <lucas.lopes@suse.com> Date: Mon, 23 Oct 2023 16:28:35 -0300 Subject: [PATCH] Adds working directory to path and changing find command to loop through split-regsync folder --- .github/workflows/regsync-config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/regsync-config.yaml b/.github/workflows/regsync-config.yaml index 19741436e..bbc0d1721 100644 --- a/.github/workflows/regsync-config.yaml +++ b/.github/workflows/regsync-config.yaml @@ -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 }}