From e3bfac4898183b370e4af47252cf00f84eeb7aa0 Mon Sep 17 00:00:00 2001 From: elimoshkovich Date: Thu, 28 Mar 2024 14:23:39 +0200 Subject: [PATCH] try6 --- .github/workflows/pdp_cicd.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pdp_cicd.yml b/.github/workflows/pdp_cicd.yml index d840e593..0086604f 100644 --- a/.github/workflows/pdp_cicd.yml +++ b/.github/workflows/pdp_cicd.yml @@ -82,9 +82,11 @@ jobs: #echo "${{ github.event.release.tag_name }}" | cut -d '-' -f 1 > permit_pdp_version rm -rf custom mkdir custom + build_root="$PWD" + cd ./permit-opa + find * -name '*go*' -print0 | xargs -0 tar -czf "$build_root"/custom/custom_opa.tar.gz --exclude '.*' #find * -name '*go*' -print0 | xargs -0 tar -czf ./custom/custom_opa.tar.gz --exclude '.*' - find * -name '*go*' -print0 | xargs -0 tar -czf $GITHUB_WORKSPACE/sidecar/custom/custom_opa.tar.gz --exclude '.*' - working-directory: ./permit-opa + #find * -name '*go*' -print0 | xargs -0 tar -czf $GITHUB_WORKSPACE/sidecar/custom/custom_opa.tar.gz --exclude '.*' - name: Build and push PDP image - (pre-release) if: "github.event.release.prerelease"