release: 0.1.0

Evan Chen 2021-10-21 00:16:46 +08:00
parent dac47cdcdf
commit f08717a3da
6 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@ COPY . .
RUN VERSION=$(git describe --tags --abbrev=0) BUILD=$(git rev-parse --short HEAD) && \ RUN VERSION=$(git describe --tags --abbrev=0) BUILD=$(git rev-parse --short HEAD) && \
GOOS=linux GOARCH=amd64 \ GOOS=linux GOARCH=amd64 \
go build -ldflags "-X main.Version=${VERSION} -X main.Build=${BUILD} -w" \ go build -ldflags "-X main.Version=${VERSION} -X main.Build=${BUILD} -w" \
-o /go/bin/configui main.go -o /go/bin/configui
FROM alpine:3.14 FROM alpine:3.14

View File

@ -66,4 +66,5 @@ docker-save:
docker save $(HUB)/$(HUB_PROJECT)/$(PROJ):$(VERSION) | gzip > dist/$(PROJ)-image-$(VERSION)-${BUILD}.tar.gz docker save $(HUB)/$(HUB_PROJECT)/$(PROJ):$(VERSION) | gzip > dist/$(PROJ)-image-$(VERSION)-${BUILD}.tar.gz
.PHONY: release
release: clean binary docker docker-save release: clean binary docker docker-save

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.