File tree Expand file tree Collapse file tree
.github/actions/docker-build Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ inputs:
2424 required : true
2525 default : ./Dockerfile
2626 description : The docker file to use when building the image
27- token :
27+ gh_token :
2828 required : false
2929 description : A token used by the Dockerfile
3030
@@ -67,15 +67,13 @@ runs:
6767 echo ########################################
6868
6969 - name : Build and push Docker image
70- env :
71- TOKEN : ${{ inputs.TOKEN }}
72- uses : docker/build-push-action@v5
70+ uses : docker/build-push-action@v6
7371 with :
7472 context : ${{ inputs.context }}
7573 cache-from : type=gha
7674 cache-to : type=gha,mode=max
77- build-args : |
78- TOKEN =${{ inputs.token }}
75+ secrets : |
76+ "gh_token =${{ inputs.gh_token }}"
7977 file : ${{ inputs.dockerfile }}
8078 push : ${{ inputs.push_image }}
8179 tags : ${{ steps.metadata.outputs.tags }}
You can’t perform that action at this time.
0 commit comments