docker login

This commit is contained in:
Egor Matveev 2021-11-06 23:04:50 +03:00
parent a7068ee6b2
commit 478b8ab912

View File

@ -12,7 +12,7 @@ build:
tags: tags:
- main - main
script: script:
- docker login - docker login -u mathwave -p Fuck0ffb1tch
- 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
@ -28,7 +28,7 @@ deploy-dev:
variables: variables:
PORT: 80 PORT: 80
script: script:
- docker login - docker login -u mathwave -p Fuck0ffb1tch
- docker pull mathwave/sprint-repo:sprint - docker pull mathwave/sprint-repo:sprint
- docker-compose up -d - docker-compose up -d