-
Select Topic AreaGeneral BodyHey guys, I was wondering for best practices with Github actions. Currently I made an action which is defined via For situations like this, where the image does not need to "be updated" on every run, is it better to have it built into a docker image and then make the step use the image directly? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
@ckcr4lyf One way to use a pre-built image is to push the image to a container registry, such as Docker Hub, and then use the uses syntax in the workflow file to reference the image. This way, the image is only built when you update it and pushed to the container registry. |
Beta Was this translation helpful? Give feedback.
@ckcr4lyf One way to use a pre-built image is to push the image to a container registry, such as
Docker Hub, and then use the uses syntax in the workflow file to reference the image.
This way, the image is only built when you update it and pushed to the container registry.