Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
software-project-WS25
Telegram Team
Commits
dc5bf619
Commit
dc5bf619
authored
Nov 06, 2025
by
Gadhave
Browse files
Update .gitlab-ci.yml file
parent
65c96ffa
Pipeline
#12084
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
dc5bf619
...
@@ -44,12 +44,20 @@ test:
...
@@ -44,12 +44,20 @@ test:
after_script
:
after_script
:
-
echo "Tests completed succesfully"
-
echo "Tests completed succesfully"
build
_image
:
build
:
stage
:
build
stage
:
build
tags
:
image
:
docker:latest
-
docker
services
:
-
windows
-
docker:dind
before_script
:
-
echo "Building Docker image for commit:" ${CI_COMMIT_SHORT_SHA}
-
echo "Logging in to Docker registry..."
-
echo "Docker Registry :" ${DOCKER_REGISTRY}
-
echo "Docker Username :" ${DOCKER_USERNAME}
-
echo "Docker Passowrd :" ${DOCKER_PASSWORD}
-
echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin "${DOCKER_REGISTRY}"
script
:
script
:
-
echo "Checking Docker version..."
-
echo "Building image..."
-
docker version
after_script
:
-
echo "Building Docker image..."
-
echo "Docker image pushed successfully!"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment