docker login
This commit is contained in:
parent
b53b2d6ffd
commit
a7068ee6b2
@ -12,6 +12,7 @@ build:
|
|||||||
tags:
|
tags:
|
||||||
- main
|
- main
|
||||||
script:
|
script:
|
||||||
|
- docker login
|
||||||
- docker build -t mathwave/sprint-repo:sprint .
|
- docker build -t mathwave/sprint-repo:sprint .
|
||||||
- docker push mathwave/sprint-repo:sprint
|
- docker push mathwave/sprint-repo:sprint
|
||||||
|
|
||||||
@ -27,6 +28,7 @@ deploy-dev:
|
|||||||
variables:
|
variables:
|
||||||
PORT: 80
|
PORT: 80
|
||||||
script:
|
script:
|
||||||
|
- docker login
|
||||||
- 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