Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CoTA
cota-backend
Commits
a300c017
Commit
a300c017
authored
Oct 14, 2025
by
Abhishek
Browse files
Update .gitlab-ci.yml file
parent
b3a482e3
Pipeline
#11997
failed with stages
in 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a300c017
...
@@ -33,15 +33,15 @@ docker_build_test:
...
@@ -33,15 +33,15 @@ docker_build_test:
stage
:
docker
stage
:
docker
needs
:
[
build_backend
]
needs
:
[
build_backend
]
variables
:
variables
:
DOCKER_HOST
:
"
"
# let docker use default local daemon
DOCKER_HOST
:
"
unix:///run/user/1000/docker.sock"
before_script
:
before_script
:
-
docker --version
-
docker --version
-
docker info
-
docker info
-
docker compose version ||
true
-
docker compose version ||
true
script
:
script
:
-
echo "
🐳
Building Docker image on host daemon..."
-
echo "Building Docker image on host daemon..."
-
docker build --build-arg BUILD_NUMBER="$BUILD_NUMBER" -t "$DOCKER_IMAGE:$DOCKER_TAG" .
-
docker build --build-arg BUILD_NUMBER="$BUILD_NUMBER" -t "$DOCKER_IMAGE:$DOCKER_TAG" .
-
docker images | grep "$DOCKER_IMAGE" || (echo "
❌
Image not found" && exit 1)
-
docker images | grep "$DOCKER_IMAGE" || (echo "Image not found" && exit 1)
# docker_build_test:
# docker_build_test:
# image: docker:24.0.5
# image: docker:24.0.5
...
...
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