Build ARM version of binary

This commit is contained in:
Tyler 2017-06-11 23:06:31 -04:00
parent 9be4d884fc
commit c474bc0e50

View File

@ -1,4 +1,4 @@
image: git.meow.tf:4567/tyler/golang-glide
image: git.meow.tf:4567/tyler/golang-glide:latest
build:
script:
@ -9,3 +9,14 @@ build:
artifacts:
paths:
- simple
build-arm:
image: git.meow.tf:4567/tyler/golang-glide:arm
script:
- cd $CI_PROJECT_DIR/src/meow.tf/deb-simple
- glide install
- cd $CI_PROJECT_DIR
- GOOS=linux GOARCH=arm GOARM=7 go build -o simple-arm
artifacts:
paths:
- simple-arm