deploy ci

This commit is contained in:
Laurent Le Houerou 2020-10-26 20:46:59 +04:00
parent 8006b0fd46
commit be532600d9

View File

@ -2,8 +2,20 @@ image: golang:1.15
stages:
- build
- deploy
build:
stage: build
script:
- make
- make
deploy:
image: docker:latest
stage: deploy
only:
refs:
- master
script:
- docker build . -t llehouerou/dnsupdater:latest
- docker push llehouerou/dnsupdater:latest