Skip to content

Commit

Permalink
Merge pull request #12 from Poltio/hotfix/no-new-line
Browse files Browse the repository at this point in the history
single line docker build
  • Loading branch information
gcg authored Jan 27, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents be81d77 + 5c756b6 commit 0ea33e6
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions action.yaml
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@ inputs:
required: true
DOCKER_BUILD_ARGS:
description: If you want to inject build params to docker build step.
required: false
default: >-
--build-arg sha="$GITHUB_SHA"
required: true
CLOUD_RUN_SERVICE_NAME:
description: "Google Cloud Run Service name you want to deploy"
required: true
@@ -88,11 +86,7 @@ runs:
- name: Building the Docker Image
shell: bash
run: |-
docker build \
--tag "${{ env.ar_image_tag }}" \
${{ inputs.DOCKER_BUILD_ARGS }} \
--build-arg version="${{ env.docker_tag }}" \
.
docker build --tag "${{ env.ar_image_tag }}" --build-arg version="${{ env.docker_tag }}" ${{ inputs.DOCKER_BUILD_ARGS }} .
- name: Push the Image to Google Artifact Registry
shell: bash

0 comments on commit 0ea33e6

Please sign in to comment.