File tree Expand file tree Collapse file tree 4 files changed +21
-15
lines changed
Expand file tree Collapse file tree 4 files changed +21
-15
lines changed Original file line number Diff line number Diff line change 1+ builds :
2+ - main : main.go
3+ binary : stack2slack
4+
5+ dockers :
6+ - image : dunglas/stack2slack
7+ latest : true
8+ binary : stack2slack
Original file line number Diff line number Diff line change @@ -2,7 +2,17 @@ language: go
22go :
33 - ' 1.9'
44
5+ services :
6+ - docker
7+
8+ install :
9+ - go get
10+
511script :
612 - go vet
713 - gofmt -e -d *.go
814 - go build
15+
16+ after_success :
17+ - test -n "$TRAVIS_TAG" && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
18+ - test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash
Original file line number Diff line number Diff line change 1- FROM golang:alpine
2-
3- RUN mkdir -p /go/src/github.com/dunglas/stack2slack
4- WORKDIR /go/src/github.com/dunglas/stack2slack
5- ADD . /go/src/github.com/dunglas/stack2slack
6-
7- RUN apk add --no-cache --virtual .build-deps git \
8- && go get \
9- && go install \
10- && apk del .build-deps \
11- && rm -rf /go/pkg \
12- && rm -rf /go/src \
13- && rm -rf /go/cache/apk/*
14-
15- ENTRYPOINT ["/go/bin/stack2slack" ]
1+ FROM alpine
2+ COPY stack2slack /bin/stack2slack
3+ ENTRYPOINT ["/bin/stack2slack" ]
File renamed without changes.
You can’t perform that action at this time.
0 commit comments