Commit 89244c6c authored by Gadhave's avatar Gadhave
Browse files

Update .gitlab-ci.yml file

parent 7ae89f3b
Pipeline #12040 failed with stages
in 1 minute and 6 seconds
stages:
- lint
- test
# -build
- build
# - deploy
variables:
......@@ -40,3 +40,18 @@ test:
- echo "Running PyTests"
after_script:
- echo "Tests completed succesfully"
build:
stage: build
image: docker:latest
services:
- docker:dind
before_script:
- echo "Building Docker image for commit:" ${CI_COMMIT_SHORT_SHA}
- echo "Logging in to Docker registry..."
- echo ${DOCKER_PASSWORD} | docker login -u ${DOCKER_USERNAME} --password-stdin ${DOCKER_REGISTRY}
script:
- echo "Building image..."
after_script:
- echo "Docker image pushed successfully!"
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