stages:
 - build

variables:
  VERSION: 0.1.0

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