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
Branches
Tags
No related merge requests found
Pipeline #8132 failed
......@@ -19,6 +19,8 @@ stages:
compile:
stage: build
tags: [docker]
except:
- tags
script:
- apk add build-base
- go build -v -ldflags "-linkmode external -extldflags '-static'" -a -o main
......@@ -58,7 +60,7 @@ build release:
- tags
script:
- 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:
paths:
- bin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment