GithubHelp home page GithubHelp logo

devops-infra / template-action Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 1.0 146 KB

Template repository for GitHub Actions

Home Page: https://shyper.pro

License: MIT License

Dockerfile 44.60% Makefile 42.33% Shell 13.07%
template template-repository github-action github-actions github-action-docker github-actions-docker docker dockerhub automation cicd ci-cd devops devops-workflow iaac christophshyper

template-action's Introduction

GitHub Action template

Template repository for GitHub Actions

Dockerized as devopsinfra/template-action.

This is just a template repository.

Features:

  • Baseline for Dockerfile, entrypoint.sh, Makefile.
  • Templates for Pull Requests and Issues.
  • Actions for a default automation.
  • Includes Code of Conduct, Contributing and Codeowners.

Badge swag

Master branch Other branches
GitHub repo GitHub code size in bytes GitHub last commit GitHub license
DockerHub Docker version Image size Docker Pulls

Reference

    - name: Run the Action
      uses: devops-infra/[email protected]
      env:
        bazbar: barfoo
      with:
        foobar: bazbar
Environment Variable Required Description
bazbar No Environment variable for env: ....
Input Variable Required Default Description
foobar No foobar Some input variable for with: ....
Outputs Description
foobar Output from action.

Examples

Run the Action with defaults.

name: Run the Action on each commit
on:
  push
jobs:
  template-action:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v2
      - name: Run the Action
        uses: devops-infra/[email protected]

Run the Action with set inputs.

name: Run the Action on each commit
on:
  push
jobs:
  template-action:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repoistory
        uses: actions/checkout@v2
      - name: Run the Action
        uses: devops-infra/[email protected]
        env:
          bar: foo
        with:
          bar: baz

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.