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