From 0f9ab3a8505666b95b66babda9d886d33b3dd6e6 Mon Sep 17 00:00:00 2001 From: kubectl Date: Fri, 21 Jun 2024 15:47:38 +0200 Subject: [PATCH] debug: try double quotes --- actions/java-gradle-build-push-jib-multi-plaftorm/action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/java-gradle-build-push-jib-multi-plaftorm/action.yaml b/actions/java-gradle-build-push-jib-multi-plaftorm/action.yaml index 36297549c..3df59edc2 100644 --- a/actions/java-gradle-build-push-jib-multi-plaftorm/action.yaml +++ b/actions/java-gradle-build-push-jib-multi-plaftorm/action.yaml @@ -108,8 +108,8 @@ runs: -Djib.allowInsecureRegistries=true \ -Djib.to.image=${{ inputs.full-image-name }} \ -Djib.to.tags=$(echo "${{ steps.meta.outputs.tags }}" | sed -zr 's/.*:(.*\n)/\1/gm; s/\n/,/g; s/(.*),/\1\n/g') \ - ${{ inputs.registry-username && format('-Djib.to.auth.username='{0}'', inputs.registry-username) || '' }} \ - ${{ inputs.registry-password && format('-Djib.to.auth.password='{0}'', inputs.registry-password) || '' }} \ + ${{ inputs.registry-username && format("-Djib.to.auth.username='{0}'", inputs.registry-username) || "" }} \ + ${{ inputs.registry-password && format("-Djib.to.auth.password='{0}'", inputs.registry-password) || "" }} \ ${{ inputs.gradle-refresh-dependencies == 'true' && '--refresh-dependencies' || '' }} shell: bash working-directory: ${{ inputs.working-directory }}