Giter Club home page Giter Club logo

Comments (5)

schurzi avatar schurzi commented on June 5, 2024 1

I am also in favor of using ghcr.io instead of Dockerhub

from docker-ansible.

nejch avatar nejch commented on June 5, 2024

IIRC redirects are not possible due to how image paths are stored in the manifests themselves.

But @rndmh3ro IMO it might make sense to push directly to ghcr.io as there is no need for static credentials and you avoid any further changes to Docker Hub limits/pricing & policies that have been going on recently.

https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#authenticating-in-a-github-actions-workflow

I think changing to ghcr.io would simply be a matter of changing the workflow files and removing the static secrets, and once they start building on main the new images should appear in this project's registry.

The old images would stay on dockerhub so it wouldn't break anything until downstream references are updated to use the new registry.

/cc @dlouzan

from docker-ansible.

nejch avatar nejch commented on June 5, 2024

FWIW I just tried ghcr.io on the all.yml workflow to test a manual push and it looks very smooth:

7af061a...2922f5c
https://github.com/nejch?tab=packages&repo_name=docker-ansible
https://github.com/nejch/docker-ansible/pkgs/container/docker-alpine-ansible

I can open a PR later (with cleanup and all the other changes needed) if this make sense to you.

from docker-ansible.

rndmh3ro avatar rndmh3ro commented on June 5, 2024

I can open a PR later (with cleanup and all the other changes needed) if this make sense to you.

Yes, that'd be great. However I'd like to push the images also to the dockerhub in the rndmh3ro-namespace. Can you add both, please?

from docker-ansible.

nejch avatar nejch commented on June 5, 2024

I can open a PR later (with cleanup and all the other changes needed) if this make sense to you.

Yes, that'd be great. However I'd like to push the images also to the dockerhub in the rndmh3ro-namespace. Can you add both, please?

Sounds good, will do! I'll wait for #22 to make sure that's deployed correctly first.

from docker-ansible.

Related Issues (8)

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.