File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 39
39
type : number
40
40
default : 1
41
41
description : " dlopen"
42
- debug-only :
43
- description : " Create Scone Debug image only"
44
- default : false
42
+ sconify-debug :
43
+ description : " Create Scone Debug image (default true)"
44
+ default : true
45
+ type : boolean
46
+ sconify-prod :
47
+ description : " Create Scone Production image (default true)"
48
+ default : true
45
49
type : boolean
46
50
secrets :
47
51
docker-username :
57
61
description : " Scontain Registry Password or Token"
58
62
required : true
59
63
scone-signing-key :
60
- description : " Signing Key for Scone Production (not required with `debug-only : false`)"
64
+ description : " Signing Key for Scone Production (not required with `sconify-prod : false`)"
61
65
required : false
62
66
63
67
jobs :
85
89
run : docker pull registry.scontain.com/scone-production/iexec-sconify-image:${{ inputs.sconify-version }}
86
90
87
91
- name : Sconify Image Debug
92
+ if : ${{ inputs.sconify-debug }}
88
93
run : |
89
94
docker run \
90
95
--rm \
@@ -105,10 +110,11 @@ jobs:
105
110
--command="${{ inputs.command }}"
106
111
107
112
- name : Push Debug Image
113
+ if : ${{ inputs.sconify-debug }}
108
114
run : docker push ${{ inputs.docker-registry }}/${{ inputs.image-name }}:${{ inputs.image-tag }}-scone-debug-${{ inputs.sconify-version }}
109
115
110
116
- name : Sconify Image Prod
111
- if : ${{ ! inputs.debug-only }}
117
+ if : ${{ inputs.sconify-prod }}
112
118
run : |
113
119
mkdir -p $HOME/sig
114
120
echo "${{ secrets.scone-signing-key }}" > $HOME/sig/enclave-key.pem
@@ -133,5 +139,5 @@ jobs:
133
139
--scone-signer=/sig/enclave-key.pem
134
140
135
141
- name : Push Prod Image
136
- if : ${{ ! inputs.debug-only }}
142
+ if : ${{ inputs.sconify-prod }}
137
143
run : docker push ${{ inputs.docker-registry }}/${{ inputs.image-name }}:${{ inputs.image-tag }}-scone-prod-${{ inputs.sconify-version }}
You can’t perform that action at this time.
0 commit comments