File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 1- .PHONY : clean lint security critic test install build release
1+ .PHONY : clean lint security critic test install build release build-and-push-images delete-tag update-pkg-cache
22
33clean :
44 rm -rf ./tmp coverage.out
@@ -23,11 +23,20 @@ build: test
2323 goreleaser --snapshot --skip-publish --rm-dist
2424
2525release : test
26- git tag -a $(VERSION ) -m " $( VERSION) "
26+ git tag -a v $(VERSION ) -m " v $( VERSION) "
2727 goreleaser --snapshot --skip-publish --rm-dist
2828
29- delete-tag :
30- git tag --delete $(VERSION )
29+ build-and-push-images : test
30+ podman build -t docker.io/koddr/cgapp:latest .
31+ podman push docker.io/koddr/cgapp:latest
32+ podman build -t docker.io/koddr/cgapp:$(VERSION ) .
33+ podman push docker.io/koddr/cgapp:$(VERSION )
34+ podman image rm docker.io/koddr/cgapp:$(VERSION )
3135
3236update-pkg-cache :
33- curl -i https://proxy.golang.org/github.com/create-go-app/cli/v3/@v/$(VERSION ) .info
37+ curl -i https://proxy.golang.org/github.com/create-go-app/cli/v3/@v/v$(VERSION ) .info
38+
39+ delete-tag :
40+ git tag --delete v$(VERSION )
41+ podman image rm docker.io/koddr/cgapp:latest
42+ podman image rm docker.io/koddr/cgapp:$(VERSION )
You can’t perform that action at this time.
0 commit comments