-
This will be addressed via issue OD-2652
-
Previous Value Current Value Open
Closed
-
Thank you for implementing this @robin !
I tried using values from file for matrix building but I keep getting the same error:
docker: invalid reference formatThe image is specified like so:
my-docker-image-name:@file:VERSIONS@And my "VERSIONS" file looks like this:5.6.6 7.2.0How should I format my values? Should I be using something like json/yml/toml or is comma-seperation or just one value per line?
| Type |
Question
|
| Priority |
Normal
|
| Assignee | |
| Labels |
No labels
|
Issue Votes (0)
In onedev CI I'm attempting to run a commandstep for multiple versions of docker images that I built in a different project. To do this matrix step I define my docker image like so:
This won't work because as written here, you cannot use the "file" statement for a commandstep. It does work for "run docker container".
I have code that I want to run inside my container that I'd rather not include in the build process of my images. Passing the entire script as an argument or mounting my script (that is not even located in the current workspace) to the container seems like a lot of work.
The fix of running docker inside docker (as suggested in: OD-2616) would not work for me since I want to run the step as a matrix.
Is there a method I overlooked?