latest
We’ll need to ensure our Docker Build creates a unique image tag for each PR commit
Also, we’ll need to wait for Docker Build to finish before trying to scan
actions
, gha-reusable
, or reusable-workflows
are all fine namesreusable-*.yml
call-*.yml
workflow_call
with push
or pull_request
events in the same file./template/
full of calling workflow examplesGITHUB_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-web