diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index efcd0e8..eb167e6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,8 +2,20 @@ image: golang:1.15 stages: - build + - deploy build: stage: build script: - - make \ No newline at end of file + - make + +deploy: + image: docker:latest + stage: deploy + only: + refs: + - master + script: + - docker build . -t llehouerou/dnsupdater:latest + - docker push llehouerou/dnsupdater:latest +