File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -27,37 +27,21 @@ jobs:
2727 - name : Checkout repository
2828 uses : actions/checkout@v4
2929
30- - name : Set up Docker Buildx
31- uses : docker/setup-buildx-action@v3
32-
3330 - name : Set package version
3431 working-directory : ./template
3532 run : |
3633 VERSION=$(cat ../chart_data_extractor/pyproject.toml | grep version | cut -d '"' -f 2)
3734 echo "Version: $VERSION"
3835 sed -i "s/e2b_charts/e2b_charts==${VERSION}/g" requirements.txt
3936
40- - name : Build Docker image
41- id : docker-build
42- uses : docker/build-push-action@v6
43- with :
44- context : ./template
45- push : false
46- load : true
47- platforms : linux/amd64
48- cache-from : type=gha
49- cache-to : type=gha,mode=max
50- tags : code-interpreter-test:latest
51-
5237 - name : Install E2B CLI
5338 run : npm install -g @e2b/cli
5439
5540 - name : Build E2B template
5641 id : build-template
5742 run : |
5843 rm -f e2b.toml
59- echo "FROM code-interpreter-test:latest" > test.Dockerfile
60- e2b template build --memory-mb 1024 -c "/root/.jupyter/start-up.sh" -d "test.Dockerfile"
44+ e2b template build --memory-mb 1024 -c "/root/.jupyter/start-up.sh" -d "Dockerfile"
6145 TEMPLATE_ID=$(grep "template_id" e2b.toml | cut -d '"' -f 2)
6246 echo "Captured Template ID: $TEMPLATE_ID"
6347 echo "template_id=$TEMPLATE_ID" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments