image: golang:1.13-alpine stages: - lint - build - deploy lint: stage: lint script: - apk add --no-cache git make - make lint build: stage: build script: - apk add --no-cache git make - make build-static - ./feudalClient --version artifacts: paths: - feudalClient # this needs a volume mounted to the docker runner like so: # volumes = ["/path/to/binaries:/deployDestination:rw"] deploy-dev: stage: deploy only: - dev environment: name: dev dependencies: - build script: - cp feudalClient /deployDestination - date -Iseconds > /deployDestination/lastCIDeploy