stages: - build variables: VERSION: 0.1.1 build-go: image: golang:1.17 stage: build only: - master script: - go build -o goscrobble cmd/go-scrobble/*.go artifacts: expire_in: 1 week paths: - goscrobble - migrations - init - .env.example