GithubHelp home page GithubHelp logo

Comments (5)

ejholmes avatar ejholmes commented on May 30, 2024

I may have misunderstood your original question. Are you referring to pushing images to a private repo on the official docker registry? If so, you just need to pass a .dockercfg formatted string to the DockerCfg parameter

e.g.

{"https://index.docker.io/v1/":{"auth":"<base64 auth>","email":"<email>"}}

from conveyor.

Luzifer avatar Luzifer commented on May 30, 2024

+1 for supporting private registries. (Not private repos on official registry)

Currently github.com/Luzifer/myrepo would be pushed to DockerHub Luzifer/myrepo and there is no real chance to use registry.luzifer.io/myrepo instead (except string-manipulation in the building container).

(Sorry for highjacking the thread)

from conveyor.

wyaeld avatar wyaeld commented on May 30, 2024

@ejholmes any further comments? For people doing a lot of private work, particularly in AWS regions where the docker registry isn't nearby, having Conveyer able to support pushing/pulling from other registries would be really useful. So far this is the most impressive builder I've seen.

from conveyor.

phobologic avatar phobologic commented on May 30, 2024

Just a heads up: @ejholmes is in the process of moving, so probably won't be super responsive for a bit.

from conveyor.

ejholmes avatar ejholmes commented on May 30, 2024

Hey @wyaeld. I probably won't be adding support for it myself until we start moving away from the official Docker registry to Amazon's registry, but if you'd like to take a crack at it, an MVP version would be pretty straightforward. Maybe:

  1. Add a new --docker.registry flag.
  2. Pass this down to the docker builder as a REGISTRY environment variable.
  3. Prefix the docker push/pull commands in the build script to include the registry.

from conveyor.

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.