Merge pull request #90 from BretFisher/dependabot/github_actions/dock… #244
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# THIS IS NOT A TEMPLATE. | |
# This is just for testing the repo itself. | |
# This calls the reusable workflow from its local file path. | |
name: Docker Build | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- 'README.md' | |
- '.github/linters/**' | |
pull_request: | |
paths-ignore: | |
- 'README.md' | |
- '.github/linters/**' | |
# cancel any previously-started, yet still active runs of this workflow on the same branch | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
call-docker-build: | |
name: Call Docker Build | |
uses: ./.github/workflows/reusable-docker-build.yaml | |
permissions: | |
contents: read | |
packages: write | |
pull-requests: write | |
secrets: | |
dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }} | |
dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }} | |
with: | |
dockerhub-enable: false | |
ghcr-enable: true | |
image-names: | | |
ghcr.io/${{ github.repository }} |