11---
2- # template source: https://github.com/conradwt /docker-build-workflow/blob/main/templates/call-docker-build.yaml
2+ # template source: https://github.com/bretfisher /docker-build-workflow/blob/main/templates/call-docker-build.yaml
33name : Docker Build
44
55on :
@@ -21,6 +21,10 @@ concurrency:
2121 group : ${{ github.ref }}-${{ github.workflow }}
2222 cancel-in-progress : true
2323
24+ # reset permsissions to none at the workflow level
25+ # we'll set them at the job level below
26+ permissions : {}
27+
2428jobs :
2529 call-docker-build :
2630 name : Call Docker Build
@@ -37,16 +41,17 @@ jobs:
3741 packages : write # needed to push docker image to ghcr.io
3842 pull-requests : write # needed to create and update comments in PRs
3943
40- # secrets:
41- # # Only needed if with:dockerhub-enable is true below
42- # # https://hub.docker.com/settings/security
43- # dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }}
44- # dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}
44+ secrets :
45+
46+ # Only needed if with:dockerhub-enable is true below
47+ # https://hub.docker.com/settings/security
48+ # dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }}
49+ # dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}
4550
4651 with :
4752 # NOTE: there are lots of input options for this reusable workflow
4853 # read the comments in the inputs area of the reusable workflow for more info
49- # https://github.com/conradwt /docker-build-workflow/blob/main/.github/workflows/reusable-docker-build.yaml
54+ # https://github.com/BretFisher /docker-build-workflow/blob/main/.github/workflows/reusable-docker-build.yaml
5055
5156 # Here are just a few of the common defaults
5257
6772
6873 # target:
6974
70- # platforms: linux/amd64
71- platforms : linux/amd64,linux/arm64
75+ # platforms are *native GitHub Runners by default, so only amd64 and/or arm64 are supported, and must be in JSON syntax.
76+ # for more platform build options, there's a "QEMU" reusable workflow option in this repo's .github/workflows folder
77+ # platforms: '["linux/amd64", "linux/arm64"]'
7278
7379 # comment-enable: true
0 commit comments