Update file .gitlab-ci.yml

This commit is contained in:
2024-04-22 11:46:49 +00:00
parent e2290da23f
commit 3b79e68ffe
+3 -3
View File
@@ -10,13 +10,13 @@ build_backend:
stage: build
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t $CI_REGISTRY/back notes-backend
- docker build -t $CI_REGISTRY/back:latest notes-backend
- docker push $CI_REGISTRY/back
build_frontend:
stage: build
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t $CI_REGISTRY/front notes-app
- docker push $CI_REGISTRY/front
- docker build -t $CI_REGISTRY/front:latest notes-app
- docker push $CI_REGISTRY/front:latest