File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 77 description : " Docker image (e.g. docker.io/<org>/<repo>)"
88 type : string
99 required : true
10+ file :
11+ description : " Path to Dockerfile relative to the repository root"
12+ type : string
13+ default : " Dockerfile"
1014 context :
1115 description : " Docker build context"
1216 type : string
6064 uses : docker/build-push-action@v5
6165 with :
6266 context : ${{ inputs.context }}
67+ file : ${{ inputs.file }}
6368 push : ${{ inputs.push }}
6469 tags : ${{ steps.meta.outputs.tags }}
6570 cache-from : type=gha
Original file line number Diff line number Diff line change 1818 secrets : inherit
1919 with :
2020 image : docker.io/${{ vars.DOCKERHUB_USERNAME }}/${{ matrix.image }}
21- context : ./${{ matrix.image }}
21+ context : .
22+ file : ./${{ matrix.image }}/Dockerfile
2223 push : true
2324 tag_with_version : false
Original file line number Diff line number Diff line change 5555 uses : ./.github/workflows/docker-build.yml
5656 with :
5757 image : docker.io/${{ vars.DOCKERHUB_USERNAME }}/${{ matrix.image }}
58- context : ./${{ matrix.image }}
58+ context : .
59+ file : ./${{ matrix.image }}/Dockerfile
5960 push : true
6061 tag_with_version : true
6162 version : ${{ needs.version.outputs.version }}
You can’t perform that action at this time.
0 commit comments