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
93fd5081
Commit
93fd5081
authored
Nov 05, 2025
by
Gadhave
Browse files
Update .gitlab-ci.yml file
parent
63c7bd1a
Pipeline
#12061
failed with stages
in 24 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
93fd5081
...
@@ -38,19 +38,16 @@ test:
...
@@ -38,19 +38,16 @@ test:
after_script
:
after_script
:
-
echo "Tests completed succesfully"
-
echo "Tests completed succesfully"
build
_docker_image
:
build
:
stage
:
build
stage
:
build
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
:
-
name
:
docker:dind
alias
:
docker
script
:
script
:
-
|
-
echo "Building image with Kaniko (no push)..."
/kaniko/executor --context . \
-
>
--dockerfile Dockerfile \
/kaniko/executor
--destination "$DOCKER_IMAGE_NAME:$DOCKER_TAG" \
--context $CI_PROJECT_DIR
--dockerfile $CI_PROJECT_DIR/Dockerfile
--no-push
--no-push
- echo "✅ Kaniko build finished for image:" $CI_REGISTRY_IMAGE:$DOCKER_TAG
--destination $DOCKER_IMAGE_NAME:$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