This commit is contained in:
Laurent Le Houerou 2020-10-27 16:07:21 +04:00
parent 063e5c0329
commit 45f5f46c86

View File

@ -1,17 +1,15 @@
image: golang:1.15.3
stages: stages:
- test - test
- build - build
test: test:
stage: test stage: test
image: golang:1.15.3
script: script:
- go test ./... - go test ./...
build: build:
stage: build stage: build
image: docker:latest
services:
- docker:dind
script: script:
docker build . -t llehouerou/dnsupdater:latest - go build ./cmd/dnsupdater