Skip to content

spritsail/drone-docker-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Layers Latest Version Git Commit Docker Stars Docker Pulls Build 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: user/image-name:optional-tag
    build_args:
    - BUILD_ARG=value

Available options

  • repo tag to this repo/repo to push to. required
  • path specify the build directory (or URL). default: .
  • cwd cd before calling docker build. optional
  • dockerfile override Dockerfile location. default: Dockerfile
  • buildkit set false to disable buildkit. default: true
  • 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
  • make provides MAKEFLAGS=-j$(nproc) as a build-argument
  • rm a flag to immediately docker rm the built image. optional
  • squash squash the built image into one layer. optional

About

A Drone CI plugin for building and labelling Docker images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published