Reduce the binary a bit by removing debug symbols from the binary

This commit is contained in:
Melroy van den Berg 2025-04-24 19:03:45 +02:00
parent 07140b16ef
commit be360d6475
No known key found for this signature in database
GPG key ID: 71D11FF23454B9D7

View file

@ -30,7 +30,7 @@ go-mod-tidy:
build: build:
stage: build stage: build
script: script:
- go build - go build -ldflags "-s -w"
- echo "ARTIFACT_URL=${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/file/fediresolve" >> variables.env - echo "ARTIFACT_URL=${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/file/fediresolve" >> variables.env
artifacts: artifacts:
paths: paths: