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
ca9167e9
Commit
ca9167e9
authored
Nov 07, 2025
by
Gadhave
Browse files
Update .gitlab-ci.yml file
parent
a5c4e460
Pipeline
#12118
canceled with stages
in 11 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ca9167e9
...
@@ -89,7 +89,7 @@ deploy:
...
@@ -89,7 +89,7 @@ deploy:
script
:
script
:
-
echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin
-
echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin
-
echo "Logged into dockerhub succesfully!!"
-
echo "Logged into dockerhub succesfully!!"
-
docker push $DOCKERHUB_REPO:$
PREVIOUS_BUILD_TAG
-
docker push $DOCKERHUB_REPO:$
CI_COMMIT_SHORT_SHA
-
echo "Pushed the docker image to dockerhub succesfully"
-
echo "Pushed the docker image to dockerhub succesfully"
-
if [ "$CI_COMMIT_BRANCH" = "$CI_DEFAULT_BRANCH" ]; then
-
if [ "$CI_COMMIT_BRANCH" = "$CI_DEFAULT_BRANCH" ]; then
docker tag $DOCKERHUB_REPO:$CI_COMMIT_SHORT_SHA $DOCKERHUB_REPO:latest;
docker tag $DOCKERHUB_REPO:$CI_COMMIT_SHORT_SHA $DOCKERHUB_REPO:latest;
...
...
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