init: repo
This commit is contained in:
commit
93badca91e
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
.terraform
|
||||||
|
.terraform.lock.hcl
|
||||||
|
.terraform.*
|
||||||
|
terraform.*
|
17
mian.tf
Normal file
17
mian.tf
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
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"
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user