Skip to content

Commit

Permalink
update Dockerfile usage and use DockerHub image
Browse files Browse the repository at this point in the history
  • Loading branch information
Falldog committed Dec 4, 2020
1 parent 6a65db0 commit 2f2659b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
FROM python:3.6.12-alpine3.12

ENV APP_PATH=app

RUN apk add --no-cache git
RUN python -m pip install --no-cache-dir --upgrade pip
RUN pip install --no-cache-dir git+git://github.com/Falldog/django-migration-checker

ENTRYPOINT django-find-conflicts $APP_PATH
ENTRYPOINT ["django-find-conflicts"]
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ inputs:

runs:
using: docker
image: Dockerfile
env:
APP_PATH: ${{ inputs.app-path }}
image: hardcoretech/django-migration-checker:latest
args:
- ${{ inputs.app-path }}

0 comments on commit 2f2659b

Please sign in to comment.