Skip to content
Snippets Groups Projects
Commit 79eb182b authored by Dimitrios Giannopoulos's avatar Dimitrios Giannopoulos
Browse files

added docker config dir

parent 95e97ea5
No related branches found
No related tags found
2 merge requests!36Merging 2024Q2_RC into main, creating 2024Q2 Release,!7Resolve "Create a pipeline to build and publish the docker image in gitlab registry"
Pipeline #3654 failed
......@@ -36,6 +36,7 @@ build_image:
fi
- echo "Building Docker image with tag $IMAGE_TAG"
script:
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor
--context "${CI_PROJECT_DIR}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment