Skip to content

Commit

Permalink
update dockerfile and build on push
Browse files Browse the repository at this point in the history
  • Loading branch information
dhosterman committed Aug 22, 2024
1 parent b69faaa commit 3735cbc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build and Publish Docker Image

on:
push:
release:
types: [published]

Expand Down Expand Up @@ -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
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ ENV PYTHONFAULTHANDLER=1 \
PYTHONHASHSEED=random \
PYTHONUNBUFFERED=1

RUN apt-get update \
&& apt-get install -y \
git

WORKDIR /app

# Build Stage
Expand Down

0 comments on commit 3735cbc

Please sign in to comment.