File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 72
72
[ -z "${CIRCLE_TAG}" ] && exit 0
73
73
74
74
go get github.com/tcnksm/ghr
75
- CGO_ENABLED=0 go build -a -ldflags '-s' -installsuffix cgo - o bin/controller_linux_amd64 .
75
+ go build -o bin/controller .
76
76
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${CIRCLE_TAG} ./bin
77
77
78
78
workflows :
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ WORKDIR /go/src/github.com/StageAutoControl/controller/
16
16
COPY --from=dependencies /go/src/github.com/StageAutoControl/controller/vendor vendor
17
17
18
18
COPY . ./
19
- RUN CGO_ENABLED=0 go build -a -ldflags '-s' -installsuffix cgo -o bin/controller .
19
+ RUN go build -o bin/controller .
20
20
21
21
FROM ubuntu
22
22
You can’t perform that action at this time.
0 commit comments