Compare commits
No commits in common. "1aafd38ac3ca776655502b96c72769ddf20f07ee" and "2bf3d1e220504908610177c72cdc167e3655a53a" have entirely different histories.
1aafd38ac3
...
2bf3d1e220
35
.github/workflows/build-image.yml
vendored
35
.github/workflows/build-image.yml
vendored
@ -10,37 +10,34 @@ jobs:
|
|||||||
build_base_image:
|
build_base_image:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python: ["3.10", "3.11", "3.12", "3.13"]
|
python: ["3.8", "3.9", "3.10", "3.11"]
|
||||||
alpine: ["3.18", "3.19", "3.20", "3.21"]
|
alpine: ["3.15", "3.16", "3.17"]
|
||||||
# include:
|
include:
|
||||||
# - python: "3.10.6"
|
- python: "3.10.6"
|
||||||
# alpine: "3.16"
|
alpine: "3.16"
|
||||||
exclude:
|
# exclude:
|
||||||
- python: "3.12"
|
# - python: 3.11.1
|
||||||
alpine: "3.18"
|
# alpine: "3.15"
|
||||||
- python: "3.13"
|
|
||||||
alpine: "3.18"
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Login to ghcr
|
- name: Login to ghcr
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v2
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v2
|
||||||
# with:
|
with:
|
||||||
# driver-opts: |
|
platforms: linux/amd64,linux/arm64
|
||||||
# image=moby/buildkit:v0.10.6
|
|
||||||
|
|
||||||
- id: string
|
- id: string
|
||||||
uses: ASzc/change-string-case-action@v5
|
uses: ASzc/change-string-case-action@v5
|
||||||
@ -48,7 +45,7 @@ jobs:
|
|||||||
string: ${{ github.repository_owner }}
|
string: ${{ github.repository_owner }}
|
||||||
|
|
||||||
- name: Build and push base
|
- name: Build and push base
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
build-args: |
|
build-args: |
|
||||||
PYTHON_VERSION=${{ matrix.python }}
|
PYTHON_VERSION=${{ matrix.python }}
|
||||||
@ -60,7 +57,7 @@ jobs:
|
|||||||
tags: ghcr.io/${{ steps.string.outputs.lowercase }}/web-base/python:${{ matrix.python }}-alpine${{ matrix.alpine }}
|
tags: ghcr.io/${{ steps.string.outputs.lowercase }}/web-base/python:${{ matrix.python }}-alpine${{ matrix.alpine }}
|
||||||
|
|
||||||
- name: Build and push Poetry
|
- name: Build and push Poetry
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
build-args: |
|
build-args: |
|
||||||
PYTHON_VERSION=${{ matrix.python }}
|
PYTHON_VERSION=${{ matrix.python }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user