spritsail/docker-build

By spritsail

Updated 6 months ago

A Drone CI plugin for building and labelling Docker images

Image

6.9K

spritsail/docker-build

Docker StarsDocker PullsBuild Status

A plugin for Drone CI to build and label Docker images with minimal effort

Supported tags and respective Dockerfile links

latest - (Dockerfile)

Configuration

An example configuration of how the plugin should be configured:

pipeline:
  build:
    image: spritsail/docker-build
    volumes: [ '/var/run/docker.sock:/var/run/docker.sock' ]
    repo: spritsail/docker-build
    build_args:
      - BUILD_ARG=value
Available options
  • repo tag to this repo/repo to push to. required
  • path override working directory. default: .
  • dockerfile override Dockerfile location. default: Dockerfile
  • use_cache override to disable --no-cache. default: false
  • no_labels disable automatic image labelling. default: false
  • build_args additional build arguments. optional
  • arguments optional extra arguments to pass to docker build. optional

Docker Pull Command

docker pull spritsail/docker-build