Migrate examples on to go fn framework

This commit is contained in:
Phillip Wittrock
2020-05-12 09:50:45 -07:00
parent 77fa5c2921
commit d5666c4ff4
11 changed files with 427 additions and 127 deletions

View File

@@ -22,7 +22,7 @@ generate:
license:
(which $(GOBIN)/addlicense || go get github.com/google/addlicense)
$(GOBIN)/addlicense -y 2019 -c "The Kubernetes Authors." -f LICENSE_TEMPLATE .
$(GOBIN)/addlicense -y 2020 -c "The Kubernetes Authors." -f LICENSE_TEMPLATE .
tidy:
(cd image && go mod tidy)
@@ -38,5 +38,5 @@ vet:
(cd image && go vet ./...)
image:
docker build image -t gcr.io/kustomize-functions/example-tshirt:v0.1.0
docker push gcr.io/kustomize-functions/example-tshirt:v0.1.0
docker build image -t gcr.io/kustomize-functions/example-tshirt:v0.2.0
docker push gcr.io/kustomize-functions/example-tshirt:v0.2.0