Skip to content

Commit 5b22e57

Browse files
committed
removed the docker image as the CLI is always trying to pull
1 parent fa779de commit 5b22e57

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

.github/workflows/build_test_template.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)