File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 type : string
1414 default : " Dockerfile"
1515
16+ container-context :
17+ description : " Build's context is the set of files located in the specified PATH or URL"
18+ type : string
19+ default : " ."
20+
1621 container-name :
1722 description : " Name of the container"
1823 type : string
7176 id : build
7277 with :
7378 file : " ${{ inputs.container-file }}"
74- context : .
79+ context : " ${{ inputs.container-context }} "
7580 push : true
7681 tags : ${{ steps.meta.outputs.tags }}
7782 labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change 1212 type : string
1313 default : " Dockerfile"
1414
15+ container-context :
16+ description : " Build's context is the set of files located in the specified PATH or URL"
17+ type : string
18+ default : " ."
19+
1520 container-name :
1621 description : " Name of the container"
1722 type : string
4550 id : build
4651 with :
4752 file : " ${{ inputs.container-file }}"
48- context : .
53+ context : " ${{ inputs.container-context }} "
4954 load : true
5055 push : false
5156 tags : localbuild/testimage:latest
Original file line number Diff line number Diff line change 1212 type : string
1313 default : " Dockerfile"
1414
15+ container-context :
16+ description : " Build's context is the set of files located in the specified PATH or URL"
17+ type : string
18+ default : " ."
19+
1520 container-name :
1621 description : " Name of the container"
1722 type : string
@@ -101,6 +106,7 @@ jobs:
101106 with :
102107 version : ${{ needs.set-version.outputs.version }}
103108 container-file : ${{ inputs.container-file }}
109+ container-context : ${{ inputs.container-context }}
104110 container-name : ${{ inputs.container-name }}
105111 scanning-block : ${{ inputs.scanning-block }}
106112
@@ -117,5 +123,6 @@ jobs:
117123 with :
118124 version : ${{ needs.set-version.outputs.version }}
119125 container-file : ${{ inputs.container-file }}
126+ container-context : ${{ inputs.container-context }}
120127 container-name : ${{ inputs.container-name }}
121128 sbom : ${{ inputs.sbom }}
You can’t perform that action at this time.
0 commit comments