Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 739 Bytes

File metadata and controls

23 lines (17 loc) · 739 Bytes

Eirbware's workflows

This repository contains all reusable workflows and workflow templates to provide better CICD

How to use reusable workflows

To use a reusable workflow, you have to make a job which calls it, like this:

  build-and-push:
    uses: Eirbware/.github/.github/workflows/build-and-publish.yml@master
    with:
      file: "./Dockerfile"
      image_name: ${{ github.repository }}
    secrets: 
      registry_username: ${{ secrets.registry_username }}
      registry_api_key: ${{ secrets.registry_api_key }}

More information here

Note

The build-and-publish reusable workflow needs id-token: write in the permissions