Docker Image Name
Name of the image. Should be specified without domain and project.
Image tag to set for the built image.
Path to the context directory (containing the Dockerfile).
Default: .
Name of dockerfile.
Default: Dockerfile
Google Container Registry Host
Default: gcr.io
Google Cloud Project ID.
Google Cloud Service Key (JSON).
uses: Liftitapp/push-docker-gcr
with:
docker_image_name: api
docker_image_tag: latest
docker_context: ./services/api
gcr_host: gcr.io
gcr_project_id: ${{ secrets.GCLOUD_PROJECT_ID }}
gcr_service_key: ${{ secrets.GCLOUD_SERVICE_KEY }}