ecload/.gitlab-ci.yml

24 lines
491 B
YAML

image: golang:latest
variables:
TOKEN_HEADER: "PRIVATE-TOKEN: $CI_BUILD_TOKEN"
build:
script:
- make
dependencies: []
except:
- tags
release:
script:
- make
#- curl -H "$TOKEN_HEADER" https://$CI_API_V4_URL/$CI_PROJECT_ID/releases
- echo $TOKEN_HEADER
- echo $CI_API_V4_URL
- echo https://$CI_API_V4_URL/$CI_PROJECT_ID/releases
artifacts:
paths:
- dist/*.tar.gz
only:
- tags