init: repo

This commit is contained in:
cdryzun 2023-08-23 22:44:04 +08:00
commit 93badca91e
2 changed files with 21 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
.terraform
.terraform.lock.hcl
.terraform.*
terraform.*

17
mian.tf Normal file
View 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"
}