Docker action: using existing image

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.


Not sure if I understand your question correctly, but…
Of course :slight_smile: Just use

FROM [aws_account_id][yourimage]

Has to be modified with your own registry URL, obviously.

1 Like

oh right! :man_facepalming: 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!

1 Like

I would assume that it does, yeah. But haven’t tried anything in that direction yet :slight_smile: