Drone plugins > Load and store
docker.svg

Load and store

by allgreed


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

    stringrequired

    location of the docker image archive.

    Default: none

  • registry

    stringoptional

    authenticates to this registry.

    Default: docker.io

  • repo

    stringrequired

    repository name for the image.

    Default: none

  • username

    stringrequired

    The username to use for the repository

    Default: none

  • password

    stringrequired

    The password to use for the repository

    Secret recommended

    Default: none

  • debug

    booleanoptional

    Enable verbose logging

    Default: false