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
63c7bd1a
Commit
63c7bd1a
authored
Nov 05, 2025
by
Gadhave
Browse files
Update .gitlab-ci.yml file
parent
d0b2fb73
Pipeline
#12060
failed with stages
in 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
63c7bd1a
...
@@ -12,12 +12,6 @@ variables:
...
@@ -12,12 +12,6 @@ variables:
DOCKER_TAG
:
$CI_COMMIT_SHORT_SHA
DOCKER_TAG
:
$CI_COMMIT_SHORT_SHA
before_script
:
-
echo "Running pipeline for commit:" ${CI_COMMIT_SHORT_SHA}
-
echo "Project directory path:" ${CI_PROJECT_DIR}
-
echo "Python path from variable:" ${PYTHONPATH}
lint
:
lint
:
stage
:
lint
stage
:
lint
image
:
python:3.10
image
:
python:3.10
...
@@ -49,16 +43,14 @@ build_docker_image:
...
@@ -49,16 +43,14 @@ build_docker_image:
image
:
image
:
name
:
gcr.io/kaniko-project/executor:latest
name
:
gcr.io/kaniko-project/executor:latest
entrypoint
:
[
"
"
]
entrypoint
:
[
"
"
]
before_script
:
[]
# prevent GitLab from using sh
services
:
services
:
-
name
:
docker:dind
-
name
:
docker:dind
alias
:
docker
alias
:
docker
script
:
script
:
-
echo "=== Building Docker image using Kaniko ==="
-
|
-
echo "Commit:" $CI_COMMIT_SHA
/kaniko/executor --context . \
-
cd Desktop/Telegram_Bot
--dockerfile Dockerfile \
-
/kaniko/executor \
--destination "$DOCKER_IMAGE_NAME:$DOCKER_TAG" \
--context . \
--no-push
--dockerfile Dockerfile \
--destination "$CI_REGISTRY_IMAGE:$DOCKER_TAG" \
--no-push
- echo "✅ Kaniko build finished for image:" $CI_REGISTRY_IMAGE:$DOCKER_TAG
- 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