Skip to content

Thoughts on container-based action? #56

@kdkasad

Description

@kdkasad

I recently started using GitOps for my Tailscale policy file, and found this gitops-acl-action to be quite slow. Every time it's run, it downloads Go, then downloads and compiles the CLI tool, and finally runs it. It looks like only the Go installation is cached, not the compilation of the tool, so it takes around 1 minute in my experience for the action to run.

As an experiment, I created https://github.com/kdkasad/tailscale-acl-action, which is exactly the same as this action in functionality, except it uses a pre-built Docker container. Execution of my container-based action takes around 1 to 5 seconds, a huge improvement. Unfortunately I cannot link to the workflow runs which show these results as that repository is private.

What are the team's thoughts on switching this action to use a container for more efficient execution?

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