Coder Social home page Coder Social logo

datumforge / container-build-buildkite-plugin Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 18 KB

A buildkite plugin to perform container build + publish processes

License: Apache License 2.0

Shell 100.00%
buildkite-plugin container-builder docker-build

container-build-buildkite-plugin's Introduction

Build status

container-build

This Buildkite plugin will build a container, today supporting Dockerfiles; you pass the plugin a context path and a tag or a set of tags

Example

Modify your pipeline.yml and add:

steps:
  - command: ls
    plugins:
      - datumforge/container-build#v1.0.0:
          tags:
          - 'datumforgeg/datum:latest'

The default settings will:

  1. Build a container with the []tags in the pipeline step
  2. Use the . directory as the context path
  3. Use Dockerfile as the specified file name to build from

Configuration

dockerfile (Optional, string)

Path to the Dockerfile to use. If not specified, the plugin will look for a Dockerfile file at the git repository root

context (Optional, string)

Path to the context directory to use. If not specified, the plugin will use the . directory as the context path

secret-file (Optional, string)

A string like 'id=mysecret,src=secret-file' where is the path in the build

tags (Optional, array of strings)

Tags to use when building the container

labels (Optional, array of strings)

Labels to use when building the container

build-args (Optional, array of strings)

Build arguments to use when building the container

e.g. build-args: ['MEOW=kitty', 'WIZBANG=shazam']

push (Optional, boolean)

If true, the plugin will push the container to a registry. Defaults to false

Developing

Requires taskfile - task lint and task test to validate updates to the plugin

container-build-buildkite-plugin's People

Contributors

matoszz avatar golanglemonade avatar

Stargazers

warman avatar  avatar  avatar

Watchers

 avatar

container-build-buildkite-plugin's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

buildkite
.buildkite/pipeline.yml
  • shellcheck v1.3.0
  • docker-compose v5.2.0
  • plugin-linter v3.3.0
docker-compose
docker-compose.yml

  • Check this box to trigger a request for Renovate to run again on this repository

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.