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

CI: Create a multiplatform docker image using docker buildx features #160

Merged
merged 1 commit into from
Feb 13, 2024

Commits on Feb 9, 2024

  1. CI: Create a multiplatform docker image using docker buildx features

    Per the Docker documentation [1], setup a github actions workflow to
    create both an amd64 and an arm64 image.
    
    This can be tested locally like so:
    
    - Create a docker-container builder that will use qemu-static-user
    
    `docker buildx create --name container --driver=docker-container --use`
    
    - Run the build using docker buildx with that new 'builder'
    
    ```
    docker buildx build --builder=container \
        --platform linux/amd64,linux/arm64 .
    ```
    
    Also update the actions to their latest revs.
    
    [1] https://docs.docker.com/build/ci/github-actions/multi-platform/
    ADKaster committed Feb 9, 2024
    Configuration menu
    Copy the full SHA
    ea89008 View commit details
    Browse the repository at this point in the history