gitlab
This commit is contained in:
@@ -1,7 +1,18 @@
|
||||
stages:
|
||||
- build
|
||||
- deploy-dev
|
||||
- deploy-prod
|
||||
|
||||
build:
|
||||
stage: build
|
||||
tags:
|
||||
- demo
|
||||
script:
|
||||
- echo $CI_RUNNER_SHORT_TOKEN
|
||||
- docker login -u mathwave -p $DOCKERHUB_PASSWORD
|
||||
- docker build -t mathwave/sprint-repo:gitlab-runner gitlab-runner
|
||||
- docker push mathwave/sprint-repo:gitlab-runner
|
||||
|
||||
deploy-dev:
|
||||
stage: deploy-dev
|
||||
tags:
|
||||
|
Reference in New Issue
Block a user