Giter Site home page Giter Site logo

Comments (4)

umarcor avatar umarcor commented on July 23, 2024 1

@martin-g, note that you don't need sudo on GHA. The runner seems to be in group docker. See https://github.com/dbhi/docker/blob/master/.github/workflows/push.yml#L67 and https://github.com/dbhi/docker/runs/789862140?check_suite_focus=true#step:3:36.

from qemu-user-static.

junaruga avatar junaruga commented on July 23, 2024

HI @zhangyoufu
Thank you for showing the suggestion and the example with GitHub Actions.

Currently, there are following some documents about the images with (Travis) CI.
How can we improve it? The pull-request is welcome.

I think adding your GitHub Actions example to the examples.md 's links improves it.
Do you have a GitHub repository to test multiarch docker image with GitHub Actions CI?

In README.md,

Please see the example - junaruga/ci-multi-arch-test i386 case on Travis CI.
...
In See Examples & articles.

In examples.md linked from the "Examples & articles".

junaruga/ci-multi-arch-test and the Travis CI

from qemu-user-static.

umarcor avatar umarcor commented on July 23, 2024

FTR, in dbhi/qus, ~15 different procedures to use these resources in CI are explained and tested, both on GitHub Actions and on Travis. See the complete list of tests: https://github.com/dbhi/qus/blob/master/docs/tests.md

For a more straightforward and easier to understand example, in repo dbhi/docker, qus is used to build and publish multiarch/manifest images. See https://github.com/dbhi/docker/blob/master/.github/workflows/push.yml (L44-L45 and L66-L67).

I think it worth mention in README, that Docker Hub and QEMU have different notion of architecture.

This is not only related to Docker and QEMU, but different distributions use different names too. Unlike this repo, where static binaries from Fedora are used, in qus binaries from Debian or Fedora are available. Some architecture names do not match or only a subset is available on one of the distributions. See https://github.com/dbhi/qus/blob/master/run.sh#L66-L116 for a glimpse of what is considered equivalent in the context of qus.

from qemu-user-static.

martin-g avatar martin-g commented on July 23, 2024

Here is how I use multiarch/qemu-user-static on GitHub Actions: https://github.com/martin-g/haproxy/blob/feature/test-aarch64-on-github-actions/.github/workflows/aarch64.yml
and here is on CircleCI: https://github.com/varnishcache/varnish-cache/tree/master/.circleci

from qemu-user-static.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.