update build to v3
This commit is contained in:
parent
2f8b18ce45
commit
1a0f1afb8b
4
.github/workflows/build-image.yml
vendored
4
.github/workflows/build-image.yml
vendored
@ -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 }}
|
||||
|
||||
@ -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"]
|
||||
Loading…
Reference in New Issue
Block a user