From be532600d9cdcf990348818884030da171ae07d5 Mon Sep 17 00:00:00 2001 From: Laurent Le Houerou Date: Mon, 26 Oct 2020 20:46:59 +0400 Subject: [PATCH] deploy ci --- .gitlab-ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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 +