GithubHelp home page GithubHelp logo

kdihalas / buildpack-action Goto Github PK

View Code? Open in Web Editor NEW

This project forked from crswty/buildpack-action

0.0 1.0 0.0 34 KB

Buildpack action for GitHub

License: Apache License 2.0

Dockerfile 57.01% Shell 42.99%

buildpack-action's Introduction

Buildpack Actions

An action to build your source into a container image using buildpacks

Usage

This step example will autodetect the source code, build it with the correct buildpack and then push it to dockerhub. It is expected that this step will run after a docker-login step. A full example workflow can be found here.

- name: build
  uses: crswty/buildpack-action@master
  env:
    IMAGE_NAME: crswty/spring-music:latest
    PUBLISH: true
    BUILDER: cloudfoundry/cnb:bionic
    CONTEXT: nodejs
    VARS: db=mysql env=dev

Configuration

Configuration is provided as environment variables.

Option Description Default
IMAGE_NAME The name & tag of the image required
PUBLISH If set, pushes the built images false
BUILDER Buildpack builder Image cloudfoundry/cnb:bionic
CONTEXT Relative folder path git root
VARS Environment variables for the build

buildpack-action's People

Contributors

kdihalas avatar crswty avatar

Watchers

 avatar

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.