Skip to content

Suggestion: Switch to Docker image action vs built container action #9

@beastawakens

Description

@beastawakens

I've made significant speed gains on a lot of CI processes by switching from using the default Convox actions to a Docker image based one.
I've taken the current Convox actions and produced a docker image from them, this is then referenced in the action.yml for GitHub to pull. This saves GitHub from needing to build each container on every CI run, which can take 30-60s per action, vs 4-5s so we're saving multiple minutes on each run.

From:
image

To:
image

I'm happy to transfer ownership of the repo to the convox org if desired, or for you guys to simply copy the methodology!

I also combined all actions into one action to save downloading multiple images, but there are downsides to that in terms of not being able to rigidly enforce required parameters.

See the resulting action here: https://github.com/beastawakens/action-convox-multi-slim with the important config in the action.yml here: https://github.com/beastawakens/action-convox-multi-slim/blob/main/action.yml#L50

The image is here https://hub.docker.com/r/beastawakens/action-convox-multi-slim and currently is just manually uploaded but could easily be automated as part of action release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions