Skip to content
Snippets Groups Projects
Commit 765a2f32 authored by Tomáš Pecka's avatar Tomáš Pecka
Browse files

Fixes in docker commands

parent 9d96e56a
No related branches found
No related tags found
No related merge requests found
Pipeline #23067 passed
......@@ -19,10 +19,9 @@ stages:
- IMAGE="${CI_JOB_NAME#build:}"
- IMAGE_NAME="${CI_REGISTRY_IMAGE}/${IMAGE}:latest"
- cd "$IMAGE"
- echo "In dir=$(pwd), going to build imagename=${IMAGE_NAME}"
- echo "Building image '${IMAGE}' as '{IMAGE_NAME}'"
- docker build -t "$IMAGE_NAME" .
- docker run -t "$IMAGE_NAME"
- docker push -t "$IMAGE_NAME"
- docker push "$IMAGE_NAME"
dependencies: []
 
build:ocs:
......
# Repository for Algorithms Library Toolkit CI images
Every image has its own directory. If you want autobuild, then add the following lines into `.gitlab-ci.yml` file:
```
build:<dirname>:
<<: *docker_template
```
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