Merge pull request #1009 from roboflow/fix/fix_error_construction #400
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build CPU Lambda container SLIM | |
on: | |
push: | |
branches: [main] | |
workflow_dispatch: | |
env: | |
VERSION: "0.0.0" # Default version, will be overwritten | |
jobs: | |
docker: | |
runs-on: | |
labels: ubuntu-latest | |
timeout-minutes: 120 | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- name: 🛎️ Checkout | |
uses: actions/checkout@v4 | |
- name: Read version from file | |
run: echo "VERSION=$(DISABLE_VERSION_CHECK=true python ./inference/core/version.py)" >> $GITHUB_ENV | |
- name: Set up Depot CLI | |
uses: depot/setup-action@v1 | |
- name: Build | |
uses: depot/build-push-action@v1 | |
with: | |
push: false | |
project: grl7ffzxd7 | |
tags: test-lambda-slim | |
platforms: linux/amd64 | |
file: ./docker/dockerfiles/Dockerfile.onnx.lambda.slim |