This repository contains all reusable workflows and workflow templates to provide better CICD
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@masterwith:
file: "./Dockerfile"image_name: ${{ github.repository }}secrets: registry_username: ${{ secrets.registry_username }}registry_api_key: ${{ secrets.registry_api_key }}More information here
The build-and-publish reusable workflow needs id-token: write in the permissions