Skip to content

rojopolis/terraform-google-docker-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build and push to Google Container Registry

provider "google" {}

data "google_client_config" "current" {}

module "docker_build" {
    source        = "../"
    gcp_project   = "${data.google_client_config.current.project}"
    gcp_token     = "${data.google_client_config.current.access_token}"
    context       = "${path.module}"
    name          = "test"
    tag           = "12"
}

output "image_info" {
    value = "${module.docker_build.gcr_image_info}"
}

About

Build docker images and upload to Google Container Registry

Resources

License

Stars

Watchers

Forks

Packages

No packages published