On Thu, Aug 6, 2020, 4:35 PM Takashi Yamamoto <yamam...@midokura.com.invalid> wrote:
> On Thu, Aug 6, 2020 at 11:57 PM Brennan Ashton > <bash...@brennanashton.com> wrote: > > > > On Thu, Aug 6, 2020, 4:03 AM Takashi Yamamoto > <yamam...@midokura.com.invalid> > > wrote: > > > > > hi, > > > > > > the docker image used by the CI (nuttx-ci-linux) is useful for other > > > purposes. > > > but as far as i know, it isn't pullable publicly. > > > > > > right now, i'm building and pushing it to docker hub for my own > > > consumption. > > > https://hub.docker.com/repository/docker/yamt/nuttx-ci-linux > > > i think it's worth to provide an equivalent officially as a project. > > > > > > how do you think? > > > > > > > The image is already publicly available. This is how the CI system uses > it > > including Jenkins > > > > https://github.com/apache/incubator-nuttx-testing/packages/159581 > > spacetanuki% docker pull > docker.pkg.github.com/apache/incubator-nuttx-testing/nuttx-ci-linux:latest > Error response from daemon: Get > > https://docker.pkg.github.com/v2/apache/incubator-nuttx-testing/nuttx-ci-linux/manifests/latest > : > no basic auth credentials > spacetanuki% > > what credential should i use for public consumption? > You have to use your GitHub credentials or token even for public ones unfortunately. https://docs.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages There is a long ticket of people complaining about this restriction. It's also why we have the extra login step in our CI run. https://github.community/t/docker-pull-from-public-github-package-registry-fail-with-no-basic-auth-credentials-error/16358 --Brennan