From 3987b1de7dc88cddea6469f4d6ee9b8d15c73754 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 11 Jul 2024 13:33:24 +0000 Subject: [PATCH] feat: build for release --- action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index a43d32b..2d81468 100644 --- a/action.yml +++ b/action.yml @@ -39,7 +39,7 @@ inputs: description: "Maximum number of issues allowed for the analysis to succeed" registry-address: required: false - default: "gh" + default: "" description: "Alternative registry address (e.g. artprod.mycompany/)" tool: required: false @@ -241,6 +241,9 @@ runs: - name: "Run Codacy CLI" shell: bash run: | + if [ -n "${{ inputs.registry-address }}" ]; then + echo "REGISTRY_ADDRESS=${{ inputs.registry-address }}" >> $GITHUB_ENV + fi if [ "${{ inputs.run-docker-tools }}" == "true" ]; then ${{ env.CLI_SCRIPT_PATH }} \ analyze \