Drone plugins > Google Artifact Registry
Google Artifact Registry
by drone-plugins
The GAR plugin can be used to build and publish images to the Google Artifact Registry.
Example
kind: pipeline
name: default
steps:
- name: publish
image: plugins/gar
settings:
repo: project-id/repo/image-name
registry: europe-docker.pkg.dev
tags: latest
json_key:
from_secret: google_credentials
Properties
registry
stringrequiredauthenticates to this registry
Default: none
repo
stringoptionalrepository name for the image including project ID
Default: none
json_key
stringrequiredjson key - can be inline or base64 encoded
Secret recommendedDefault: none
workload_identity
booleanoptionalflag if key is a workload identity key
Default: false