Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove aliases created by buildx when installing by default #139

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 25, 2022

  1. Remove aliases created by buildx when installing by default

    If the action is configured to install buildx by default using the
    input then docker buildx sets up docker build as an alias for buildx
    making all docker build calls use the buildx builder instead of
    traditional builders. The action didn't perform cleanup in this case to
    uninstall the aliases which meant that any future workflows running on
    same GitHub Actions runner would get the buildx builders even if it did
    not explicitly request it.
    
    This commit tracks if the aliases were installed and removes them during
    post step of the action if so.
    
    Signed-off-by: Ashhar Hasan <hashhar_dev@outlook.com>
    hashhar committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    fdd372a View commit details
    Browse the repository at this point in the history