Drone plugins > Google Container Registry
google_gcr.svg

Google Container Registry

by drone-plugins


The GCR plugin can be used to build and publish images to the Google Container Registry.

Example

kind: pipeline
name: default

steps:
- name: publish  
  image: plugins/gcr
  settings:
    repo: project/foo
    tags: latest
    json_key:
      from_secret: google_credentials

Properties

  • registry

    stringoptional

    authenticates to this registry

    Default: gcr.io

  • repo

    stringoptional

    repository name for the image

    Default: none

  • json_key

    stringrequired

    json key - can be inline or base64 encoded

    Secret recommended

    Default: none