ci update
This commit is contained in:
parent
53ee00ec9c
commit
aed905414e
@ -15,12 +15,11 @@ build:
|
|||||||
script:
|
script:
|
||||||
- docker build --cache-from=mathwave/sprint-repo:sprint -t mathwave/sprint-repo:sprint .
|
- docker build --cache-from=mathwave/sprint-repo:sprint -t mathwave/sprint-repo:sprint .
|
||||||
- docker push mathwave/sprint-repo:sprint
|
- docker push mathwave/sprint-repo:sprint
|
||||||
after_script:
|
|
||||||
- docker image rm mathwave/sprint-repo:sprint
|
|
||||||
|
|
||||||
.deploy:
|
.deploy:
|
||||||
before_script:
|
before_script:
|
||||||
- docker login -u mathwave -p $DOCKERHUB_PASSWORD
|
- docker login -u mathwave -p $DOCKERHUB_PASSWORD
|
||||||
|
- docker image rm mathwave/sprint-repo:sprint
|
||||||
script:
|
script:
|
||||||
- docker pull mathwave/sprint-repo:sprint
|
- docker pull mathwave/sprint-repo:sprint
|
||||||
- docker-compose up -d
|
- docker-compose up -d
|
||||||
|
Loading…
Reference in New Issue
Block a user