diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 98e85ed..aa484b0 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -2,7 +2,7 @@ name: ci on: push: - branches: [ "master" ] + branches: [ "*" ] tags: [ "*" ] pull_request: diff --git a/Dockerfile b/Dockerfile index 5b5206d..86b5983 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,16 @@ # Init image -FROM python:3 +FROM python:slim WORKDIR /app # Install requirements COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt -RUN wget -O /usr/bin/regctl https://github.com/regclient/regclient/releases/latest/download/regctl-linux-amd64 +RUN python - <