Skip to content
Snippets Groups Projects
Commit d59acd8e authored by Rafael László's avatar Rafael László :speech_balloon:
Browse files

update output dir of build

parent 6d187fd6
No related branches found
No related tags found
No related merge requests found
Pipeline #8132 failed
...@@ -19,6 +19,8 @@ stages: ...@@ -19,6 +19,8 @@ stages:
compile: compile:
stage: build stage: build
tags: [docker] tags: [docker]
except:
- tags
script: script:
- apk add build-base - apk add build-base
- go build -v -ldflags "-linkmode external -extldflags '-static'" -a -o main - go build -v -ldflags "-linkmode external -extldflags '-static'" -a -o main
...@@ -58,7 +60,7 @@ build release: ...@@ -58,7 +60,7 @@ build release:
- tags - tags
script: script:
- mkdir -p bin - mkdir -p bin
- GOOS=linux GOARCH=amd64 go build -v -ldflags "-linkmode external -extldflags '-static'" -a -o app . - GOOS=linux GOARCH=amd64 go build -v -ldflags "-linkmode external -extldflags '-static'" -a -o bin/kszk-status-backend-linux-amd64 .
artifacts: artifacts:
paths: paths:
- bin - bin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment