Skip to content

Commit 991a36f

Browse files
authored
Merge pull request #6 from Poltio/hotfix/default-build-args
Lets try to get rid of the new line for build args when its empty
2 parents 72ce892 + 236c66c commit 991a36f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

action.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ inputs:
1111
DOCKER_BUILD_ARGS:
1212
description: If you want to inject build params to docker build step.
1313
required: false
14-
default: |-
14+
default: ""
1515
CLOUD_RUN_SERVICE_NAME:
1616
description: "Google Cloud Run Service name you want to deploy"
1717
required: true
@@ -92,8 +92,7 @@ runs:
9292
docker build \
9393
--tag "${{ env.ar_image_tag }}" \
9494
--build-arg sha="$GITHUB_SHA" \
95-
--build-arg version="${{ env.docker_tag }}" \
96-
${{ inputs.DOCKER_BUILD_ARGS }}
95+
--build-arg version="${{ env.docker_tag }}" \ ${{ inputs.DOCKER_BUILD_ARGS }}
9796
.
9897
9998
- name: Push the Image to Google Artifact Registry

0 commit comments

Comments
 (0)