dockerfile

This commit is contained in:
Administrator 2022-08-21 16:54:57 +03:00
parent 3e2620645e
commit 46f451aea2

View File

@ -11,9 +11,7 @@ build:
before_script: before_script:
- docker login -u mathwave -p $DOCKERHUB_PASSWORD - docker login -u mathwave -p $DOCKERHUB_PASSWORD
script: script:
- docker build -t mathwave/sprint-repo:base dockerfiles/base - docker build -t mathwave/sprint-repo:sprint .
- docker push mathwave/sprint-repo:base
- docker build -t mathwave/sprint-repo:sprint dockerfiles/main
- docker push mathwave/sprint-repo:sprint - docker push mathwave/sprint-repo:sprint
- docker build -t mathwave/sprint-repo:sprint-nginx nginx - docker build -t mathwave/sprint-repo:sprint-nginx nginx
- docker push mathwave/sprint-repo:sprint-nginx - docker push mathwave/sprint-repo:sprint-nginx