We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f84ecf commit f4bb60fCopy full SHA for f4bb60f
.github/workflows/build_template.yml
@@ -19,6 +19,8 @@ jobs:
19
build:
20
name: Build Docker Image and Template
21
runs-on: ubuntu-latest
22
+ outputs:
23
+ template_id: ${{ steps.build-template.outputs.template_id }}
24
steps:
25
- name: Checkout repository
26
uses: actions/checkout@v4
@@ -50,6 +52,7 @@ jobs:
50
52
rm -f e2b.toml
51
53
e2b template build --memory-mb 1024 -c "/root/.jupyter/start-up.sh" -d "e2b.Dockerfile" | tee build_output.txt
54
TEMPLATE_ID=$(grep "Requested build for the sandbox template" build_output.txt | awk '{print $NF}')
55
+ echo "Captured Template ID: $TEMPLATE_ID"
56
echo "template_id=$TEMPLATE_ID" >> $GITHUB_OUTPUT
57
working-directory: ./template
58
env:
0 commit comments