deploy ci
This commit is contained in:
parent
8006b0fd46
commit
be532600d9
@ -2,8 +2,20 @@ image: golang:1.15
|
|||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
|
- deploy
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- make
|
- make
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
image: docker:latest
|
||||||
|
stage: deploy
|
||||||
|
only:
|
||||||
|
refs:
|
||||||
|
- master
|
||||||
|
script:
|
||||||
|
- docker build . -t llehouerou/dnsupdater:latest
|
||||||
|
- docker push llehouerou/dnsupdater:latest
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user