diff --git a/README.md b/README.md index f236464..00f683d 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 }} \ No newline at end of file + GOOGLE_PROJECT_ID: ${{ secrets.GOOGLE_PROJECT_ID }} +``` \ No newline at end of file