Replies: 1 comment 3 replies
-
Thanks for the feedback. We don't have any plans to change the lifecycle of container actions at the moment. We may be able to loosen this restriction for container-based jobs; it's something that we'll explore. You could workaround this at the moment by having separate jobs: one that builds your image and publishes it to DockerHub or GitHub Container Registry, and then a second job that runs a container-based job using that container. This is obviously a bit more heavyweight but it's more in the spirit of the way Actions and Packages were imagined to work together. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As a result, it is currently not possible to use local containers using the
uses: docker://
syntax.The alternative is to call docker explicitly, which requires handling all the environment manually (if necessary):
Using local docker images in container steps should be supported too.
This is somehow related to #9049, because being able to use variables in
uses:
steps requires not to build them ahead of time.Beta Was this translation helpful? Give feedback.
All reactions