Giter Site home page Giter Site logo

support 32-bit arm on dockerhub? about s3proxy HOT 2 CLOSED

snpz avatar snpz commented on May 29, 2024
support 32-bit arm on dockerhub?

from s3proxy.

Comments (2)

gaul avatar gaul commented on May 29, 2024

Currently the automated Docker push via CI is broken #479. Before a contributor added ARM64 support, this worked for x86-64. Ideally I would like to repair this if someone can tell me what is broken. Then I would be happy to accept a PR to include 32-bit ARM as part of the automated push. I don't have much background in Docker so this will likely need to be a contribution from the community.

from s3proxy.

snpz avatar snpz commented on May 29, 2024

Thanks for your swift reply. I'm not deep into Docker myself but just took some time to see what could be the issue.
So I had a look in your ci-file and the errors when trying to copy the image from the github-registry to docker.io.

The error is pretty explanatory: https://github.com/gaul/s3proxy/actions/runs/7040721261/job/19162231024#step:10:27
Failed to get manifest docker.io/library/master:latest: Unauthorized [http 401]: {"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":[{"Type":"repository","Class":"","Name":"library/master","Action":"pull"}]}]}

I'd say the Url is not correct and should include the path to your repository.

I just tried this locally with my (private) docker repo and those commands did the trick for me:

~$ ./regctl image copy ghcr.io/gaul/s3proxy/container:master docker.io/steffenpe/testrepo:master
Manifests: 3/3 | Blobs: 206.795MB copied, 0.000B skipped | Elapsed: 59s
docker.io/steffenpe/testrepo:master

In ci-main.yml I see the following:
for line in $CONTAINER_DEST_TAGS; do echo working on "$line"; /tmp/regctl image copy $SOURCE_CONTAINER $line; done

The failing step in CI outputs the value of $line and it is:
working on ghcr.io/gaul/s3proxy/container:master

I guess regctl uses only the tag from that string and builds up the path itself which results in
docker.io/library/master:latest instead of docker.io/library/andrewgaul/s3proxy:master which should be the correct one.

So I think you need to get the $tagname from $line and concat it to docker.io/andrewgaul/s3proxy:$tag.
I'm not deep into linux either, but I will see if I can come up with something.

small addition: maybe it would also make sense to use a more recent version of regctl instead of 0.3.5 which is currently used.
The current one is v0.5.6.

from s3proxy.

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.