Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RaccoonDev committed Nov 14, 2019
1 parent ae79712 commit cbff6c0
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,25 @@ Pass all sensitive data using secrets.

**Required** Google Service Account Key.

### `google_compute_zone`
### `gcr_host`

### `google_project_id`
Google Container Registry Host

### `gcr_host`
- gcrp.io (default)
- eu.gcr.ui
- etc

### `image_name`

Name of the image. Should be specified without domain and project.

### `image_tag`

Image tag to set for the built image.

## Example usage

```ylm
uses: raccoondev/push-docker-gcr
with:
gcr_host: eu.gcr.io
Expand All @@ -31,4 +38,5 @@ with:
env:
GCLOUD_SERVICE_KEY: ${{ secrets.GCLOUD_SERVICE_KEY }}
GOOGLE_COMPUTE_ZONE: ${{ secrets.GOOGLE_COMPUTE_ZONE }}
GOOGLE_PROJECT_ID: ${{ secrets.GOOGLE_PROJECT_ID }}
GOOGLE_PROJECT_ID: ${{ secrets.GOOGLE_PROJECT_ID }}
```

0 comments on commit cbff6c0

Please sign in to comment.