docker login

This commit is contained in:
Egor Matveev 2021-11-06 23:03:03 +03:00
parent b53b2d6ffd
commit a7068ee6b2

View File

@ -12,6 +12,7 @@ build:
tags:
- main
script:
- docker login
- docker build -t mathwave/sprint-repo:sprint .
- docker push mathwave/sprint-repo:sprint
@ -27,6 +28,7 @@ deploy-dev:
variables:
PORT: 80
script:
- docker login
- docker pull mathwave/sprint-repo:sprint
- docker-compose up -d