From c474bc0e50aba8331e9409e4df07c7d63380b2bd Mon Sep 17 00:00:00 2001 From: Tyler Date: Sun, 11 Jun 2017 23:06:31 -0400 Subject: [PATCH] Build ARM version of binary --- .gitlab-ci.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index be77e6e..a8b68ae 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file