Docker action: using existing image #26394
-
hello! I’m not entirely clear on how/if I can use an existing docker image from a registry (for instance ECR) for my Github Action. My use case is that I have a docker builder image that I’d like to use. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Not sure if I understand your question correctly, but…
Has to be modified with your own registry URL, obviously. |
Beta Was this translation helpful? Give feedback.
-
oh right! 🤦♂️ didn’t think of that. I was thinking of referencing the image within the action.yml rather than the Dockerfile. Expanding on that, how does the orchestration work? Could the local image on the github runner be referenced in other steps without the need for rebuild? And thanks! |
Beta Was this translation helpful? Give feedback.
-
I would assume that it does, yeah. But haven’t tried anything in that direction yet :slight_smile: |
Beta Was this translation helpful? Give feedback.
Not sure if I understand your question correctly, but…
Of course :slight_smile: Just use
Has to be modified with your own registry URL, obviously.