Skip to content

Commit

Permalink
Merge pull request #16 from stefda/dont-push-image
Browse files Browse the repository at this point in the history
Don't push image into registry as part of the action
  • Loading branch information
stefda authored Sep 3, 2021
2 parents aadc6cd + b2bb777 commit 66f66e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

An GitHub Action for deploying revisions to Google Cloud Run.

## v2 breaking changes

Version 2 assumes that the deployed image is already pushed into Container Registry.

## Usage

In your actions workflow, somewhere after the step that builds
Expand Down
3 changes: 0 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ then
fi

gcloud auth activate-service-account --key-file="$HOME"/gcloud.json --project "$INPUT_PROJECT"
gcloud auth configure-docker

docker push "$INPUT_IMAGE"

gcloud run deploy "$INPUT_SERVICE" \
--image "$INPUT_IMAGE" \
Expand Down

0 comments on commit 66f66e1

Please sign in to comment.