Skip to content

Is it possible to checkout code before starting a service? #25792

Answered by airtower-luna
ryanto asked this question in Actions
Discussion options

You must be logged in to vote
ryanto:

Is it possible to have checkout happen before the services start? Any tips for making a user supplied config is available to a service container.

You’ll probably have to start your container(s) manually to achieve that, e.g. with docker run commands in the workflow after checkout. Just make sure to attach them to the Docker network with the name set in job.container.network (see job context) and they should be reachable the same as the services configured for the job.

Replies: 1 comment

Comment options

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