Commit 765a2f32 authored by Tomáš Pecka's avatar Tomáš Pecka

Fixes in docker commands

parent 9d96e56a
Pipeline #23067 passed with stage
in 2 minutes and 40 seconds
......@@ -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
```
Markdown is supported
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