diff --git a/Dockerfile b/Dockerfile index 8279369..2469757 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ -FROM python:3.6.12-alpine3.12 +FROM python:3.11.9-alpine +ARG VERSION="0.8.0" 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 +RUN pip install --no-cache-dir django-migration-checker==${VERSION} ENTRYPOINT ["django-find-conflicts"] diff --git a/action.yml b/action.yml index 549a228..efa6174 100644 --- a/action.yml +++ b/action.yml @@ -11,7 +11,7 @@ inputs: default: 'app' runs: - using: docker - image: docker://hardcoretech/django-migration-checker:latest + using: 'docker' + image: 'Dockerfile' args: - ${{ inputs.app-path }}