Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

ci(assistant): publish sandbox MicroVM image to the preview account (#16386)

Lysander Kieselfc28128b8281
diff --git a/.github/workflows/build-sandbox-microvm-image.yml b/.github/workflows/build-sandbox-microvm-image.yml
index 5aca2a1941..9efa357f73 100644
--- a/.github/workflows/build-sandbox-microvm-image.yml
+++ b/.github/workflows/build-sandbox-microvm-image.yml
@@ -9,6 +9,7 @@ on:
type: choice
default: staging
options:
+ - preview
- staging
- all-production
- prod-eu
@@ -40,7 +41,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- environment: ${{ fromJSON(github.event_name == 'push' && github.ref == 'refs/heads/main' && '["staging"]' || github.event_name == 'push' && '["prod-eu","prod-us","prod-hipaa","prod-jp"]' || inputs.environment == 'all-production' && '["prod-eu","prod-us","prod-hipaa","prod-jp"]' || format('["{0}"]', inputs.environment)) }}
+ environment: ${{ fromJSON(github.event_name == 'push' && github.ref == 'refs/heads/main' && '["staging","preview"]' || github.event_name == 'push' && '["prod-eu","prod-us","prod-hipaa","prod-jp"]' || inputs.environment == 'all-production' && '["prod-eu","prod-us","prod-hipaa","prod-jp"]' || format('["{0}"]', inputs.environment)) }}
env:
AWS_REGION: ${{ vars.AWS_REGION }}
AWS_MICROVM_BUILD_ROLE_ARN: ${{ vars.AWS_MICROVM_BUILD_ROLE_ARN }}