GITHUB_TOKEN and these permsname: Docker Build
on:
push:
branches:
- main
pull_request:
jobs:
call-docker-build:
name: Call Docker Build
uses: mostlydevops/actions/.github/workflows/reusable-docker-build.yaml@main
permissions:
packages: write
pull-requests: write
with:
image-name: ghcr.io/mostlydevops/wordsmith-webIn your actions repo
actions repo, create a new file .github/workflows/reusable-docker-build.ymlIn your wordsmith-web and wordsmith-api repos, replace the workflow
.github/workflows/docker-build.yml.github/workflows/call-docker-build.yml and add this content30 uses: to point to your new reusable workflow filewordsmith-web PRwordsmith-api