File tree Expand file tree Collapse file tree 3 files changed +8
-10
lines changed
Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 22name : Set Environment Variables
33
44inputs :
5- VARIANT :
6- description : " The desktop variant to build. Use 'ALL' to build all variants ."
5+ SIGNING_SECRET :
6+ description : " The secret used for signing the image. If not provided, the image will not be signed ."
77 required : false
88
99outputs :
@@ -28,12 +28,6 @@ outputs:
2828 IMAGE_REF :
2929 description : " The full reference to the image in the registry"
3030 value : ${{ steps.set.outputs.IMAGE_REF }}
31- VARIANTS :
32- description : " The desktop variants to build"
33- value : ${{ steps.set.outputs.VARIANTS }}
34- MATRIX :
35- description : " The matrix of variants to build"
36- value : ${{ steps.set.outputs.MATRIX }}
3731 IS_SIGNED :
3832 description : " Whether the image is signed"
3933 value : ${{ steps.set.outputs.IS_SIGNED }}
6559 echo "IMAGE_REF=${REGISTRY}/${IMAGE_PATH}/${IMAGE_NAME}" >> $GITHUB_OUTPUT
6660 echo "PLATFORMS=${PLATFORMS}" >> $GITHUB_OUTPUT
6761
68- # This is a workaround so that the expansion of secrets. SIGNING_SECRET doesn't break the if statement
62+ # This is a workaround so that the expansion of SIGNING_SECRET doesn't break the if statement
6963 SECRET=$(cat <<EOF
70- ${{ secrets .SIGNING_SECRET }}
64+ ${{ inputs .SIGNING_SECRET }}
7165 EOF
7266 )
7367 if [ -z "${SECRET}" ]; then
Original file line number Diff line number Diff line change 2828 - name : Set environment variables
2929 uses : ./.github/actions/config
3030 id : set
31+ with :
32+ SIGNING_SECRET : ${{ secrets.SIGNING_SECRET }}
3133
3234 build-iso :
3335 name : Build ISO
Original file line number Diff line number Diff line change 3434 - name : Set environment variables
3535 uses : ./.github/actions/config
3636 id : set
37+ with :
38+ SIGNING_SECRET : ${{ secrets.SIGNING_SECRET }}
3739
3840 build-image :
3941 name : Build image
You can’t perform that action at this time.
0 commit comments