Hi All,
I'm trying to figure out how i can push to GCP Container Register via
Packer.
source "docker" "example" {
image = "ubuntu"
export_path = "image.tar"
}
build {
sources = ["source.docker.example"]
post-processors {
post-processor "docker-tag" {
repository = "gcr.io/<project>/python"
tag = ["2.1"]
}
post-processor "docker-push"{
login = file(".json")
login_server = "gcr.io"
}
}
}
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/packer-tool/fdea25bb-2a23-4f64-9625-5e4865dd8be5n%40googlegroups.com.