From 1a0f1afb8b32b01ebda956ef1044ea6b926aa253 Mon Sep 17 00:00:00 2001 From: Attilio Greco Date: Fri, 16 Dec 2022 14:55:35 +0100 Subject: [PATCH] update build to v3 --- .github/workflows/build-image.yml | 4 ++-- Docker/Dockerfile.poetry | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 723e5ee..2cc2a11 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -45,7 +45,7 @@ jobs: string: ${{ github.repository_owner }} - name: Build and push - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: build-args: | PYTHON_VERSION=${{ matrix.python }} @@ -56,7 +56,7 @@ jobs: tags: ghcr.io/${{ steps.string.outputs.lowercase }}/web-base:${{ matrix.python }}-alpine${{ matrix.alpine }} - name: Build and push Poetry - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: build-args: | PYTHON_VERSION=${{ matrix.python }} diff --git a/Docker/Dockerfile.poetry b/Docker/Dockerfile.poetry index f603e84..ea1e3d5 100644 --- a/Docker/Dockerfile.poetry +++ b/Docker/Dockerfile.poetry @@ -8,6 +8,6 @@ ENV POETRY_HOME=/opt/poetry ENV POETRY_VIRTUALENVS_IN_PROJECT=true ENV PATH="$POETRY_HOME/bin:$PATH" COPY ./src/install_poetry.py /app/install_poetry.py -RUN python3 /app/install_poetry.py +RUN pip install poetry CMD ["/bin/bash"] \ No newline at end of file