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: 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