Drone plugins > Load and store
This plugin can be used to load and publish images to the Docker registry. It can come in handy when the default Docker plugin cannot be used. A good example usecase is building Docker images with nix which produces a Docker image archive.
Example
kind: pipeline
name: default
steps:
- name: push-docker-image
image: allgreed/drone-load-and-store
settings:
archive: docker-image.tar.gz
repo: username/repository
username:
from_secret: docker_username
password:
from_secret: docker_password
Properties
archive
stringrequiredlocation of the docker image archive.
Default: none
registry
stringoptionalauthenticates to this registry.
Default: docker.io
repo
stringrequiredrepository name for the image.
Default: none
username
stringrequiredThe username to use for the repository
Default: none
password
stringrequiredThe password to use for the repository
Secret recommendedDefault: none
debug
booleanoptionalEnable verbose logging
Default: false