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")
}
}
}