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 d235edc commit 24954ffCopy full SHA for 24954ff
.github/workflows/release.yml
@@ -180,8 +180,12 @@ jobs:
180
- name: Build and push to DockerHub
181
working-directory: ./template
182
run: |
183
- CHARTS_VERSION=$(cat ../chart_data_extractor/pyproject.toml | grep version | cut -d '"' -f 2)
184
- VERSION=${{ needs.charts-release.outputs.version || CHARTS_VERSION }}
+ if [ -z "${{ needs.charts-release.outputs.version }}" ]; then
+ VERSION=$(cat ../chart_data_extractor/pyproject.toml | grep version | cut -d '"' -f 2)
185
+ else
186
+ VERSION=${{ needs.charts-release.outputs.version }}
187
+ fi
188
+
189
sed -i "s/e2b_charts/e2b_charts==${VERSION}/g" Dockerfile
190
docker pull ${{ secrets.DOCKERHUB_USERNAME }}/code-interpreter:latest || true
191
docker buildx build \
0 commit comments