Giter Site home page Giter Site logo

keithduncan / kanikoctl-buildkite-plugin Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 11 KB

Build Docker images using kaniko running in a separate container.

License: BSD 3-Clause "New" or "Revised" License

Shell 100.00%
buildkite-plugin kaniko buildkite

kanikoctl-buildkite-plugin's Introduction

kanikoctl-buildkite-plugin

Build images using GoogleContainerTools/kaniko running in a separate container.

See keithduncan/kaniko-socat for a Docker image with the kaniko binaries and socat installed.

See keithduncan/buildkite-on-demand for an example of how to use this.

Plugin Parameters

  • verbosity: Optional, one of: panic, fatal, error, warn, info, debug
  • context_path: a path relative to the BUILDKITE_BUILD_CHECKOUT_PATH for the image context
  • dockerfile: Optional, a path relative to the context_path directory for the Dockerfile, defaults to Dockerfile.
  • build_args: Optional, a list of strings e.g. 'COMMIT=01234sha' for Dockerfile ARG instructions
  • destination: Optional, Docker image registry to push to the built image to. If absent the image is built but not pushed. If no tags are specified the latest tag is used by default.
  • tags: Optional, list of strings, if destination is given the image is pushed to these registry tags e.g. tags: ['0.1.1', '0.1', '0']. Tags also supports a ref syntax: tags: { Ref: version } where version is looked up using buildkite-agent meta-data get version and the string is split on comma to generate a list of tags.

Example

agents:
  queue: your-on-demand-queue

steps:
  - label: ":docker: :kangaroo:"
    plugins:
      - "keithduncan/kanikoctl#261d24e5f25e01ba0ee8f2b406c5ff7c260d2cc5":
          destination: keithduncan/hello-world
    agents:
      task-definition: kaniko
      task-role: DockerHubPublish

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.