diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..81754e1 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,16 @@ +# Binaries for programs and plugins +*.exe +*.exe~ +*.dll +*.so +*.dylib + +# Test binary, build with `go test -c` +*.test + +# Output of the go coverage tool, specifically when used with LiteIDE +*.out +_out + +# Ignore the built binary +cert-manager-webhook-example diff --git a/Makefile b/Makefile index bddb85d..7085685 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -IMAGE_NAME := "webhook" +IMAGE_NAME := "mecodia/cert-manager-webhook-hetzner" IMAGE_TAG := "latest" OUT := $(shell pwd)/_out @@ -10,6 +10,7 @@ verify: build: docker build -t "$(IMAGE_NAME):$(IMAGE_TAG)" . + docker push "$(IMAGE_NAME):$(IMAGE_TAG)" .PHONY: rendered-manifest.yaml rendered-manifest.yaml: @@ -17,4 +18,4 @@ rendered-manifest.yaml: --name example-webhook \ --set image.repository=$(IMAGE_NAME) \ --set image.tag=$(IMAGE_TAG) \ - deploy/example-webhook > "$(OUT)/rendered-manifest.yaml" + deploy/hetzner-webhook > "$(OUT)/rendered-manifest.yaml" diff --git a/testdata/my-custom-solver/config.json b/testdata/my-custom-solver/config.json index 4c0a7b8..a517957 100644 --- a/testdata/my-custom-solver/config.json +++ b/testdata/my-custom-solver/config.json @@ -1,4 +1,4 @@ { - "apiKey": "EBEMLAlXhFAW05jyeoFMJPe2e12wJEf0" + "apiKey": "" } \ No newline at end of file