Skip to content

Service container: use the image built in the job #27147

Answered by Yanjingzhu
SilleBille asked this question in Actions
Discussion options

You must be logged in to vote
  1. Does GH actions support running service containers using the image created from the current (or previous) job, that runs as part of the commit/PR?
  2. If #1 is not feasible, the fallback approach I’m thinking of is to upload the image to quay.io registry, rather than dockerhub. Can GH action upload container images to quay.io?
  3. Can service containers use image from quay.io?
  1. The answer is no. 

  2. You could publish your image to quay.io during GitHub workflow execution. You could run docker commands to login to quay.io and then upload image to it. 

  3. If your quay.io registry is a publlic one, it could be used in service container image key. If it is a private one, there is no way to provide…

Replies: 12 comments

Comment options

You must be logged in to vote
0 replies
Comment options

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

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Product Feedback
5 participants