diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 17b2477..cf80bdc 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -26,7 +26,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: dist - path: dist/*.tar.gz + path: dist/*.whl deploy-pypi: needs: build runs-on: ubuntu-latest @@ -49,7 +49,7 @@ jobs: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | - twine upload mitama-*.tar.gz + twine upload mitama-* deploy-docker: needs: build runs-on: ubuntu-latest diff --git a/Dockerfile b/Dockerfile index b878f9f..44a7d6d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM alpine:3.13 RUN mkdir /pkg -COPY mitama-*.tar.gz /pkg/ +COPY mitama-*.whl /pkg/ WORKDIR /pkg RUN apk add --no-cache python3 python3-dev py3-pip libmagic nginx build-base gcc libffi-dev openssl-dev rust cargo zlib-dev jpeg-dev nginx postfix git \ && pip3 install --upgrade pip \ diff --git a/Dockerfile.mysql b/Dockerfile.mysql index 9596680..6930471 100644 --- a/Dockerfile.mysql +++ b/Dockerfile.mysql @@ -1,6 +1,6 @@ FROM alpine:3.13 RUN mkdir /pkg -COPY mitama-*.tar.gz /pkg/ +COPY mitama-*.whl /pkg/ WORKDIR /pkg RUN apk add --no-cache python3 python3-dev py3-pip libmagic nginx build-base gcc libffi-dev openssl-dev rust cargo zlib-dev jpeg-dev nginx postfix mariadb-dev mariadb-connector-c-dev git \ && pip3 install --upgrade pip \ diff --git a/Dockerfile.postgresql b/Dockerfile.postgresql index 6dfde11..edb3e7c 100644 --- a/Dockerfile.postgresql +++ b/Dockerfile.postgresql @@ -1,6 +1,6 @@ FROM alpine:3.13 RUN mkdir /pkg -COPY mitama-*.tar.gz /pkg/ +COPY mitama-*.whl /pkg/ WORKDIR /pkg RUN apk add --no-cache python3 python3-dev py3-pip libmagic nginx build-base gcc libffi-dev openssl-dev rust cargo zlib-dev jpeg-dev nginx postfix postgresql-dev postgresql-libs \ && pip3 install --upgrade pip \