diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4caa7bf..e644912 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -27,12 +27,15 @@ jobs: uses: docker/build-push-action@v2 with: context: ${{ github.workspace }}/kinss + platforms: linux/amd64,linux/arm64 push: true - tags: ${{ secrets.DOCKERHUB_USERNAME }}/kinss:latest + tags: | + ${{ secrets.DOCKERHUB_USERNAME }}/kinss:latest + ${{ secrets.DOCKERHUB_USERNAME }}/kinss:1.1 - name: Depoly to flyio, using fly.toml uses: superfly/flyctl-actions@master env: FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} with: - args: "deploy ./kinss" \ No newline at end of file + args: "deploy ./kinss" diff --git a/Dockerfile b/Dockerfile index ae9f45a..b4db84c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,8 @@ FROM python:3.8.16 RUN mkdir /code COPY . /code -RUN pip install -r /code/requirements.txt +RUN python -m pip install -U --force-reinstall pip \ + && pip install -r /code/requirements.txt WORKDIR /code CMD ["python", "/code/app.py"] \ No newline at end of file