GithubHelp home page GithubHelp logo

cgerling / dockeryard Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 96 KB

A personal Docker registry based on GitHub Packages

License: GNU General Public License v3.0

Dockerfile 5.19% Shell 94.81%
docker docker-images docker-automation

dockeryard's Introduction

dockeryard

A personal Docker registry based on GitHub Packages.

dockeryard's People

Contributors

cgerling avatar

Watchers

 avatar  avatar

dockeryard's Issues

Multi Arch Support

This is already supported by Docker by creating multiple tags for each arch.
I prefer to wait for the buildx command to become stable and then add this feature here.

Dedicated workflows

Nowadays there's a single workflow to handle all custom images, because of that every update on any image triggers a "publish"* for all images present on the repository. This is not sensitive since the only thing affected is the delay between the update itself and the image is available to use, a cache could be configured to fasten the process a bit but it still does unnecessary work.
One possible solution is to create a workflow configuration for each image that triggers only when there's some update on their files together with a custom action that actually publishes* an image to a registry, to reduce the boilerplate necessary to add one.
An ideal solution would be a generic action that dynamically checks which image was updated and publishes it but I don't know how pratic this would be since GitHub Actions doesn't seem to support a lot of dynamic behavior, for obvious reasons.

*with publish I refer to the build and push process

Multiple Tags per Image

In the current state, we have a meta.sh script file to provide metadata about the image but the truth is that we just need a tag name for the image, so it would be better to rely on a more flexible system and reintroduce the meta.sh file concept later when actually needed.

Specific workflows

Since the ground was laid on #1 we can focus on minor improvements to achieve a more seamless workflow. Nowadays only changes on the master that affect some image related file (workflow configuration or something inside images/{image}) triggers a workflow that will release a new version on the registry, but this behavior isn't always intended because we need to check if the image changes will work (in this case just build successfully) without releasing this new version to the registry before merging a PR, to avoid pushing unapproved things to the registry.

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.