File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2424 version : latest
2525 args : release --rm-dist
2626 env :
27- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27+ GITHUB_TOKEN : ${{ secrets.GH_RELEASER }}
Original file line number Diff line number Diff line change 1- FROM golang:alpine AS build
1+ FROM golang:1.16- alpine AS build
22
33LABEL MAINTAINER =
'Friends of Go ([email protected] )' 44
55RUN apk add --update git
66RUN apk add ca-certificates
77WORKDIR /go/src/github.com/friendsofgo/killgrave
88COPY . .
9- RUN export GO111MODULE=on && go mod tidy && TAG=$(git describe --tags --abbrev=0) \
9+ RUN go mod tidy && TAG=$(git describe --tags --abbrev=0) \
1010 && LDFLAGS=$(echo "-s -w -X main.version=" $TAG) \
1111 && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -o /go/bin/killgrave -ldflags "$LDFLAGS" cmd/killgrave/main.go
1212
You can’t perform that action at this time.
0 commit comments