--- image: golang:1.19 stages: - test - build - release compile: stage: test script: - go get -v - make prometheus-dnssec-exporter .changes artifacts: paths: - prometheus-dnssec-exporter - .changes golangci-lint: stage: test script: - go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.45.2 - golangci-lint run release: image: python:3.9 stage: release script: - python3 package/release.py only: - tags