File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 runs-on : ${{ inputs.runs-on }}
4747 steps :
4848 - name : Check out repository
49- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
49+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5050
5151 - name : Install cosign
5252 uses : sigstore/cosign-installer@cad07c2e89fa2edd6e2d7bab4c1aa38e53f76003 # v4.1.1
6767 with :
6868 images : ghcr.io/${{ github.repository }}
6969 tags : |
70- type=raw,value=main
70+ type=raw,value=main,enable=${{ github.ref == 'refs/heads/main' }}
7171 type=sha,prefix=sha-
7272 type=raw,value=${{ inputs.version }}
7373 type=raw,value=v${{ inputs.version }}
Original file line number Diff line number Diff line change 4242 required : false
4343 type : string
4444 default : .
45+ build-args :
46+ description : Docker build arguments (newline-separated KEY=VALUE)
47+ required : false
48+ type : string
49+ default : " "
4550
4651permissions :
4752 contents : read
5459 runs-on : ${{ inputs.runs-on }}
5560 steps :
5661 - name : Check out repository
57- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
62+ uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5863
5964 - name : Setup Node
6065 uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
8792 with :
8893 images : ghcr.io/${{ github.repository }}
8994 tags : |
90- type=raw,value=main
95+ type=raw,value=main,enable=${{ github.ref == 'refs/heads/main' }}
9196 type=sha,prefix=sha-
9297 type=raw,value=${{ inputs.version }}
9398 type=raw,value=v${{ inputs.version }}
@@ -102,6 +107,7 @@ jobs:
102107 platforms : ${{ inputs.platforms }}
103108 tags : ${{ steps.meta.outputs.tags }}
104109 labels : ${{ steps.meta.outputs.labels }}
110+ build-args : ${{ inputs.build-args }}
105111
106112 - name : Sign image with cosign
107113 env :
You can’t perform that action at this time.
0 commit comments