Skip to content

Understanding working with containers #26962

Answered by BrightRan
dingo-d asked this question in Actions
Discussion options

You must be logged in to vote

@dingo-d ,

If you have installed the required tool on the host machine and also know the installation directory of the tool, you can try using the syntax “jobs.<job_id>.container.volumes” to set a volume for the tool’s installation directory.

volumes:
  - <source>:<destinationPath>

The <source> is the absolute path of the tool’s installation directory on the host machine, and <destinationPath> is an absolute path you set in the container.

Of course, if the required tool has not been installed on the host machine, you also can add a step in the container job to install the required tool in the container.

About running tests, you just need to execute steps (commands, actions) for the tests…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants