From 457ea09dd3c7c70520b09a6528594582e1a98a64 Mon Sep 17 00:00:00 2001 From: BushraS-Protean Date: Tue, 20 May 2025 15:51:48 +0530 Subject: [PATCH] Update build-and-deploy-plugins.yml --- .github/workflows/build-and-deploy-plugins.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-deploy-plugins.yml b/.github/workflows/build-and-deploy-plugins.yml index 2bf84aa..44368b3 100644 --- a/.github/workflows/build-and-deploy-plugins.yml +++ b/.github/workflows/build-and-deploy-plugins.yml @@ -62,12 +62,16 @@ jobs: fi done + BUILD_CMDS=${BUILD_CMDS%" && "} + echo "🛠️ Running build commands inside Docker:" + echo "$BUILD_CMDS" + + docker run --rm -v "$(pwd)":/app -w /app golang:1.24-bullseye sh -c "$BUILD_CMDS" - - name: Zip the plugin binaries + - name: List zip output run: | - cd $PLUGIN_OUTPUT_DIR - zip -r ../$ZIP_FILE *.so - cd .. + ls -lh plugins_bundle.zip + - name: Authenticate to GCP run: |