Home
Softono

Github Actions Templates

Open source Dockerfile
106
Stars
28
Forks
5
Issues
4
Watchers
2 months
Last Commit

 About Github Actions Templates

Reusable GitHub Actions workflow examples for cloud native DevOps

Platforms

Web Self-hosted Cloud Docker

Languages

Dockerfile

Links

Need Help Installing Github Actions Templates?

We provide expert installation service for this software. Our team will install, configure, and secure Github Actions Templates on your server. plans start at just $30.

Github Actions Templates

View on GitHub

GitHub Actions DevOps Examples

Lint Code Base

These workflow examples comprise three parts:

  • .github/workflows/reusable-*.yaml - Designed to be reusable as a "called" workflow, and has a workflow_call event in it. They would exist in a central repository and called by other repositories. The central repository needs to be public, internal, or private and enabled for GitHub Actions sharing in repository Settings.
  • templates/call-*.yaml - these are the "calling" templates that you would copy to all your code and IaC repositories. Each of their jobs has the special uses: <github-path> to point to the reusable workflow.
  • .github/workflows/call-local*.yaml - For testing. Calls a local workflow in the same directory. ProTip: Make tests for your reusable workflows! Either in the same repository as this one shows, or from a separate repository full of tests. You'll thank me later.

⚠️ DO NOT call this workflow directly, rather, use it as a template repository and fork it for your own reusable workflow. I might change this workflow at anytime, based on new GHA features or learnings, and your calling workflow might break. ⚠️

Examples

This repository is part of my examples on GitHub Actions

More reading

πŸŽ‰πŸŽ‰πŸŽ‰ Join my cloud native DevOps community πŸŽ‰πŸŽ‰πŸŽ‰