From 4995888f00e245bf4094c5e0aea7e301f9cbe206 Mon Sep 17 00:00:00 2001 From: reesporte Date: Sun, 14 Nov 2021 14:11:56 -0600 Subject: [PATCH] the problem was i was installing it for a different architecture smh --- .gitlab/.gitlab-ci.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.gitlab/.gitlab-ci.yml b/.gitlab/.gitlab-ci.yml index 20fae519e..83bb9be05 100644 --- a/.gitlab/.gitlab-ci.yml +++ b/.gitlab/.gitlab-ci.yml @@ -137,18 +137,12 @@ build for darwin amd64: stage: build image: registry.gitlab.com/molecula/featurebase/builder:0.0.3 extends: .go-cache - variables: - GOOS: "darwin" - GOARCH: "amd64" - GOBIN: "/go/bin" script: - - mkdir -p $GOBIN - rm -r lattice - tar -xvf lattice.tar.gz - go get -v -u github.com/rakyll/statik - - go install -v github.com/rakyll/statik@latest - $GOBIN/statik -src=lattice - - make build FLAGS="-o featurebase_darwin_amd64" + - GOOS="darwin" GOARCH="amd64" make build FLAGS="-o featurebase_darwin_amd64" artifacts: paths: - featurebase_darwin_amd64