18 lines
361 B
HCL
18 lines
361 B
HCL
terraform {
|
|
required_providers {
|
|
kaniko = {
|
|
source = "registry.terraform.io/seal-io/kaniko"
|
|
}
|
|
}
|
|
}
|
|
|
|
provider "kaniko" {}
|
|
|
|
resource "kaniko_image" "example" {
|
|
context = "git://github.com/seal-io/simple-web-service"
|
|
dockerfile = "Dockerfile"
|
|
destination = "yangzun/test:1"
|
|
registry_username = "yangzun"
|
|
registry_password = "xxx"
|
|
}
|