/template-docker

Primary LanguageDockerfileMIT LicenseMIT

GitHub Action: Hello Docker

Tests Release License

This GitHub Action is a template for GitHub Action with Dockerfile.

Usage

Prerequisites

Create a workflow .yml file in your .github/workflows directory. An example workflow is available below. For more information, reference the GitHub Help Documentation for Creating a workflow file.

Inputs

  • name: Name to greet

Example

name: Greet

on:
  push:
    branch:
      - master

jobs:
  greet:
    name: Greet
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1

      - name: Greet
        uses: nowactions/template-docker@master
        with:
          name: GitHub Action

Development

Release

  • Bump up the version in Dockerfile
  • Commit the changes
  • Run make release