How can I use my own docker image in an action? #26417
-
I recently discovered how to publish my own docker image to ghcr.io. How can I set the runs-on of a job to something so that it would use my custom image from ghcr.io? Is this possible at all or am I misunderstanding something here? I can imagine that it can only work if I base my custom image on one of the prepared GitHub runs-on images. For those who are looking into their area:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can do that with
|
Beta Was this translation helpful? Give feedback.
-
airtower-luna:
Great, this works! Thanks. For those who are looking into their area:
I took some inspiration from your https://github.com/airtower-luna/hello-ghcr repo @airtower-luna, thanks! |
Beta Was this translation helpful? Give feedback.
You can do that with
jobs.<job_id>.container
, something like: