Skip to content

Commit 55bddef

Browse files
feat: build for release
1 parent 3ff8e64 commit 55bddef

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

action.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ inputs:
3737
required: false
3838
default: "2147483647"
3939
description: "Maximum number of issues allowed for the analysis to succeed"
40+
registry-address:
41+
required: false
42+
default: "gh"
43+
description: "Alternative registry address (e.g. artprod.mycompany/)"
4044
tool:
4145
required: false
4246
description: >-
@@ -224,7 +228,7 @@ runs:
224228
225229
- name: "Set Codacy CLI version"
226230
shell: bash
227-
run: echo "CODACY_ANALYSIS_CLI_VERSION=7.9.7" >> $GITHUB_ENV
231+
run: echo "CODACY_ANALYSIS_CLI_VERSION=7.9.10" >> $GITHUB_ENV
228232
- name: "Set script path environment variable"
229233
shell: bash
230234
run: echo "CLI_SCRIPT_PATH=${{ github.action_path }}/codacy-analysis-cli.sh" >> $GITHUB_ENV
@@ -260,7 +264,8 @@ runs:
260264
$(if [ "${{ inputs.fail-if-incomplete }}" == "true" ]; then echo "--fail-if-incomplete"; fi) \
261265
$(if [ "${{ inputs.allow-network }}" == "true" ]; then echo "--allow-network"; fi) \
262266
$(if [ "${{ inputs.force-file-permissions }}" == "true" ]; then echo "--force-file-permissions"; fi) \
263-
$(if [ "${{ inputs.gh-code-scanning-compat }}" == "true" ]; then echo "--gh-code-scanning-compat"; fi)
267+
$(if [ "${{ inputs.gh-code-scanning-compat }}" == "true" ]; then echo "--gh-code-scanning-compat"; fi) \
268+
$(if [ -n "${{ inputs.registry-address }}" ]; then echo "--registry-address ${{ inputs.registry-address }}"; fi)
264269
else
265270
echo "Skipping docker tools"
266271
fi

0 commit comments

Comments
 (0)