Using Docker Plugin with GCP/Google Cloud registry

How can I push a docker image built with packer to the GCP registry?