File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 2727 description : ' --config-folder parameter; path to folder, containing config files'
2828 default : ' ${{ github.workspace }}'
2929 required : false
30- credentials-file :
31- description : ' --credentials-file parameter; path to credentials file'
32- default : ' ${{ secrets.UNIVERSAL_AIRGAPPER_CREDS }}'
33- required : false
3430 debug :
3531 description : ' Enable debug mode'
3632 default : ' '
3733 required : false
34+ credentials-secret-name :
35+ description : ' Name of the secret containing the credentials'
36+ default : ' UNIVERSAL_AIRGAPPER_CREDS'
37+ required : false
3838
3939jobs :
4040 airgapper :
5656 cat ${{ github.event.inputs.config-folder || github.workspace }}/*.yaml || true
5757 echo "========================================================"
5858
59+ - name : Write credentials file
60+ run : echo "${{ secrets[github.event.inputs.credentials-secret-name] }}" > credentials.yaml
61+
5962 - name : Run Universal Airgapper
6063 run : |
6164 python /home/airgapper/main.py \
You can’t perform that action at this time.
0 commit comments