Skip to content

load, tag and push a Docker image in unprivileged, containerized environment, also: a Drone plugin

License

Notifications You must be signed in to change notification settings

allgreed/drone-load-and-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drone-load-and-store

load, tag and push a Docker image in unprivileged, containerized environment, also: a Drone plugin

Prerequisites

  • nix
  • direnv (nix-env -i direnv)

Hint: if something doesn't work because of missing package please add the package to default.nix instead of installing on your computer. Why solve the problem for one if you can solve the problem for all? ;)

One-time setup

make init

Everything

make help

High level goals

  • must work with Drone cloud (so no privilaged features)
  • should mimic the API of the default Docker plugin
  • rewrite from bash to some real programming language is fine as long as the code and build process is kept simple

TODO:

  • build with nix (and from scratch)
  • maybe add shellcheck as lint? :D
  • add a testing suite that takes a sample image and pushes it to controlled instance of docker registry
  • make a propper CI
  • better error messages

About

load, tag and push a Docker image in unprivileged, containerized environment, also: a Drone plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published