Commit 9a0b664e authored by Gadhave's avatar Gadhave
Browse files

Update .gitlab-ci.yml file

parent 7de08e58
Pipeline #12045 failed with stages
in 1 minute and 1 second
......@@ -45,7 +45,11 @@ build:
stage: build
image: docker:latest
services:
- docker:dind
- name: docker:dind
alias: docker
variables:
DOCKER_HOST: tcp://docker:2375/
DOCKER_TLS_CERTDIR: "" # Disable TLS since we’re in a trusted CI env
before_script:
- echo "Building Docker image for commit:" ${CI_COMMIT_SHORT_SHA}
- echo "Logging in to Docker registry..."
......@@ -59,4 +63,6 @@ build:
- echo "Pushing image to ${DOCKER_REGISTRY}..."
- docker push "${IMAGE_NAME}:${IMAGE_TAG}"
after_script:
- echo "Docker image pushed successfully!"
\ No newline at end of file
- echo "Docker image pushed successfully!"
tags:
- docker
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment