File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -62,11 +62,21 @@ __check_defined = \
6262snapshot :
6363 docker run --rm -v $(PWD ) :/workdir -w /workdir cbroglie/goreleaser-cgo:1.12.12-musl goreleaser --rm-dist --snapshot --skip-publish
6464
65- .PHONY : release
66- release :
65+ .PHONY : github- release
66+ github- release :
6767 @:$(call check_defined, GITHUB_TOKEN)
6868 docker run -e GITHUB_TOKEN=$(GITHUB_TOKEN ) --rm -v $(PWD ) :/workdir -w /workdir cbroglie/goreleaser-cgo:1.12.12-musl goreleaser --rm-dist
6969
70+ .PHONY : docker-build
71+ docker-build :
72+ docker build -f Dockerfile -t cfssl/cfssl:$(VERSION ) .
73+ .PHONY : docker-push
74+ docker-push :
75+ docker push cfssl/cfssl:$(VERSION )
76+
77+ .PHONY : release
78+ release : github-release docker-build docker-push
79+
7080BUILD_PATH := $(CURDIR ) /build
7181INSTALL_PATH := $(BUILD_PATH ) /usr/local/bin
7282
You can’t perform that action at this time.
0 commit comments