2727 type : choice
2828 options :
2929 - ' codespace'
30- - ' Devcontainer'
3130 - ' Local'
3231 default : ' codespace'
3332
@@ -104,10 +103,10 @@ on:
104103 image_model_choice :
105104 description : ' Image Model to Deploy'
106105 required : false
107- default : ' gpt-image-1'
106+ default : ' gpt-image-1-mini '
108107 type : choice
109108 options :
110- - ' gpt-image-1'
109+ - ' gpt-image-1-mini '
111110 - ' gpt-image-1.5'
112111 - ' none'
113112
116115permissions :
117116 contents : read
118117 actions : read
119- packages : write # Required by deploy-orchestrator → job-deploy → job-deploy-devcontainer for GHCR
118+ id-token : write # Required for OIDC-based Azure authentication
119+ packages : write # Required for GHCR operations
120120jobs :
121121 validate-inputs :
122122 runs-on : ubuntu-latest
@@ -157,8 +157,8 @@ jobs:
157157
158158 # Validate runner_os (specific allowed values) and derive actual runner
159159 RUNNER_OS_INPUT="${INPUT_RUNNER_OS:-codespace}"
160- if [[ "$RUNNER_OS_INPUT" != "codespace" && "$RUNNER_OS_INPUT" != "Devcontainer" && "$RUNNER_OS_INPUT" != " Local" ]]; then
161- echo "❌ ERROR: runner_os must be one of: codespace, Devcontainer, Local, got: '$RUNNER_OS_INPUT'"
160+ if [[ "$RUNNER_OS_INPUT" != "codespace" && "$RUNNER_OS_INPUT" != "Local" ]]; then
161+ echo "❌ ERROR: runner_os must be one of: codespace, Local, got: '$RUNNER_OS_INPUT'"
162162 VALIDATION_FAILED=true
163163 else
164164 echo "✅ runner_os: '$RUNNER_OS_INPUT' is valid"
@@ -167,8 +167,6 @@ jobs:
167167 # Derive actual runner from runner_os input
168168 if [[ "$RUNNER_OS_INPUT" == "codespace" ]]; then
169169 RUNNER_OS="ubuntu-latest"
170- elif [[ "$RUNNER_OS_INPUT" == "Devcontainer" ]]; then
171- RUNNER_OS="devcontainer"
172170 else
173171 RUNNER_OS="windows-latest"
174172 fi
@@ -309,8 +307,8 @@ jobs:
309307 echo "existing_webapp_url=$INPUT_EXISTING_WEBAPP_URL" >> $GITHUB_OUTPUT
310308
311309 # Validate and output image_model_choice
312- IMAGE_MODEL="${INPUT_IMAGE_MODEL_CHOICE:-gpt-image-1}"
313- ALLOWED_MODELS=("gpt-image-1" "gpt-image-1.5" "none")
310+ IMAGE_MODEL="${INPUT_IMAGE_MODEL_CHOICE:-gpt-image-1-mini }"
311+ ALLOWED_MODELS=("gpt-image-1-mini " "gpt-image-1.5" "none")
314312 if [[ ! " ${ALLOWED_MODELS[@]} " =~ " ${IMAGE_MODEL} " ]]; then
315313 echo "❌ ERROR: image_model_choice '$IMAGE_MODEL' is invalid. Allowed: ${ALLOWED_MODELS[*]}"
316314 exit 1
@@ -335,5 +333,5 @@ jobs:
335333 AZURE_EXISTING_AI_PROJECT_RESOURCE_ID : ${{ needs.validate-inputs.outputs.azure_existing_ai_project_resource_id || '' }}
336334 existing_webapp_url : ${{ needs.validate-inputs.outputs.existing_webapp_url || '' }}
337335 trigger_type : ${{ github.event_name }}
338- image_model_choice : ${{ needs.validate-inputs.outputs.image_model_choice || 'gpt-image-1' }}
336+ image_model_choice : ${{ needs.validate-inputs.outputs.image_model_choice || 'gpt-image-1-mini ' }}
339337 secrets : inherit
0 commit comments