update
This commit is contained in:
parent
93badca91e
commit
880f90fa0d
17
mian.tf
17
mian.tf
@ -9,9 +9,18 @@ terraform {
|
||||
provider "kaniko" {}
|
||||
|
||||
resource "kaniko_image" "example" {
|
||||
context = "git://github.com/seal-io/simple-web-service"
|
||||
dockerfile = "Dockerfile"
|
||||
destination = "yangzun/test:1"
|
||||
context = "git://gitlab-ee.treesir.pub/demotest/walrus/simple-web-service.git"
|
||||
dockerfile = "Dockerfile"
|
||||
destination = "yangzun/test:1"
|
||||
registry_username = "yangzun"
|
||||
registry_password = "xxx"
|
||||
registry_password = "nuli123456@."
|
||||
lifecycle {
|
||||
create_before_destroy = true
|
||||
}
|
||||
}
|
||||
|
||||
output "debug" {
|
||||
description = "debug"
|
||||
value = resource.kaniko_image.example
|
||||
sensitive = true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user