Skip to content

Instantly share code, notes, and snippets.

@Leopere
Created February 2, 2017 05:46
Show Gist options
  • Save Leopere/81ed7664cf5aef3da1a7e79e3f1b9b10 to your computer and use it in GitHub Desktop.
Save Leopere/81ed7664cf5aef3da1a7e79e3f1b9b10 to your computer and use it in GitHub Desktop.
GoLang gitlab-ci for discord-cli
compile-go-1.8-alpine:
image: golang:1.8-alpine
stage: build
script:
- apk update && apk add git -y
- pwd
- ls -lAh
- mkdir -pv /go/src/github.com/Rivalo/discord-cli
- cp -Rv ./* /go/src/github.com/Rivalo/discord-cli
- cd /go/src/github.com/Rivalo/discord-cli
- pwd
- go get -v .
- ls -lAh
- go build main.go
artifacts:
paths:
- /go/bin/discord-cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment