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
d0b2fb73
Commit
d0b2fb73
authored
Nov 05, 2025
by
Gadhave
Browse files
Update .gitlab-ci.yml file
parent
a17861f8
Pipeline
#12059
failed with stages
in 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d0b2fb73
...
@@ -46,17 +46,19 @@ test:
...
@@ -46,17 +46,19 @@ test:
build_docker_image
:
build_docker_image
:
stage
:
build
stage
:
build
image
:
docker:latest
image
:
name
:
gcr.io/kaniko-project/executor:latest
entrypoint
:
[
"
"
]
services
:
services
:
-
name
:
docker:dind
-
name
:
docker:dind
alias
:
docker
alias
:
docker
script
:
script
:
-
echo "=== Starting Docker Build for commit" $CI_COMMIT_SHA
-
echo "=== Building Docker image using Kaniko ==="
-
echo "Project structure:"
-
echo "Commit:" $CI_COMMIT_SHA
-
ls -R
-
echo "Navigating to Desktop/Telegram_Bot directory..."
-
cd Desktop/Telegram_Bot
-
cd Desktop/Telegram_Bot
-
echo "Building Docker image" $DOCKER_IMAGE_NAME ":" $DOCKER_TAG
-
/kaniko/executor \
-
docker build -t $DOCKER_IMAGE_NAME .
--context . \
-
echo "Docker image built successfully:"" $DOCKER_IMAGE_NAME":"$DOCKER_TAG
--dockerfile Dockerfile \
-
docker images | grep "$DOCKER_IMAGE_NAME"
--destination "$CI_REGISTRY_IMAGE:$DOCKER_TAG" \
\ No newline at end of file
--no-push
-
echo "✅ Kaniko build finished for image:" $CI_REGISTRY_IMAGE:$DOCKER_TAG
\ No newline at end of file
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