Skip to content

Cerebellum-Network/reusable-workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Reusable workflows

There are four types of reusable workflows:

  1. Build docker image using Dockerfile and push to docker registry

  2. Build static content, upload to s3 and run cloudfront invalidation

  3. Build and deploy image to ECR

  4. Deploy docker image from registry to k8s via helm

  5. Run jdk tests via gradle

Versioning template: Major.Minor.Patch (1.0.0)

After implementing new functional needed to push new tag in case of changes size:

  1. Small change like type change parameter ⇒ Patch (1.0.0 ⇒ 1.0.1)

  2. Small change like adding new action or new parameter ⇒ Minor (1.0.0 ⇒ 1.1.0)

  3. Medium or big change like adding new reusable workflow or reworking current ⇒ Major (1.0.0 ⇒ 2.0.0)

How to use

uses: Cerebellum-Network/reusable-workflows/.github/workflows/build-and-push-docker.yaml@<version>
with:
  <variables>
secrets:
  <secrets> or just inherit

Variables you can find in "inputs" block

Secrets you can find in "secrets" block

Version you can choose follow changelog

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published