Skip to content

Keiron-HealthTech/ReusableWorkflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 

Repository files navigation

Templates repository

In this repository are the actions for the deployment

Utils:

Example (buildKanikoAndChangeImage):

name: NAME
on:
  workflow_dispatch:
  push:
    branches:
      - "develop"
jobs:
  deployment:
    uses: keiron-git/ReusableWorkflow/.github/workflows/buildKanikoAndChangeImage.yml@main
    with:
      namespace: NAMESPACES
      app_name: APPNAME
      image_repository_name: NAME_ECR
      cluster_name: EKS_NAME
      environment: ENVIRONMENT
      runner: RUNNER
    secrets:
      aws_account_id: ${{ secrets.AWS_ACCOUNT_ID }}
      personal_token: ${{ secrets.PERSONAL_TOKEN }}

Example (buildImageAndPublishECR):

name: NAME
on:
  workflow_dispatch:
  push:
    branches:
      - "develop"
jobs:
  deployment:
    uses: keiron-git/ReusableWorkflow/.github/workflows/buildImageAndPublishECR.yml@main
    with:
      namespace: NAMESPACES
      app_name: APPNAME
      image_repository_name: NAME_ECR
      cluster_name: EKS_NAME
      environment: ENVIRONMENT
      runner: RUNNER
    secrets:
      aws_account_id: ${{ secrets.AWS_ACCOUNT_ID }}
      personal_token: ${{ secrets.PERSONAL_TOKEN }}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published