Update .gitlab-ci.yml file
This commit is contained in:
@@ -63,7 +63,6 @@ docker-build:
|
||||
DOCKER_DRIVER: overlay2
|
||||
script:
|
||||
- docker build -t centrum-api:latest -f Api/Dockerfile .
|
||||
- echo "Docker image built: centrum-api:latest"
|
||||
|
||||
docker-deploy:
|
||||
stage: release
|
||||
@@ -77,4 +76,3 @@ docker-deploy:
|
||||
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
||||
- docker tag centrum-api:latest $CI_REGISTRY_IMAGE:latest
|
||||
- docker push $CI_REGISTRY_IMAGE:latest
|
||||
- echo "Docker image deployed to registry: $CI_REGISTRY_IMAGE:latest"
|
||||
|
||||
Reference in New Issue
Block a user