You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
514 B

# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Go.gitlab-ci.yml
image: golang:latest
stages:
- build
- deploy
compile:
stage: build
script:
- go build -ldflags "-extldflags '-static'" -o $CI_PROJECT_DIR/ytdlp-archive-viewer .
artifacts:
paths:
- ytdlp-archive-viewer