diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 6788719e..7205a7fb 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,6 +1,7 @@ name: Build and Publish Docker Image on: + push: release: types: [published] @@ -35,7 +36,9 @@ jobs: uses: docker/build-push-action@v6 with: push: true - tags: ${{ steps.meta.outputs.tags }} + tags: | + modelrunner:demo + platforms: | linux/arm64/v8 linux/amd64 diff --git a/Dockerfile b/Dockerfile index e1091bb8..103cd2d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,10 @@ ENV PYTHONFAULTHANDLER=1 \ PYTHONHASHSEED=random \ PYTHONUNBUFFERED=1 +RUN apt-get update \ + && apt-get install -y \ + git + WORKDIR /app # Build Stage