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:
|
||||
strategy:
|
||||
matrix:
|
||||
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"
|
||||
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"
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Login to ghcr
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
uses: docker/setup-qemu-action@v2
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
# with:
|
||||
# driver-opts: |
|
||||
# image=moby/buildkit:v0.10.6
|
||||
uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
||||
- id: string
|
||||
uses: ASzc/change-string-case-action@v5
|
||||
@ -48,7 +45,7 @@ jobs:
|
||||
string: ${{ github.repository_owner }}
|
||||
|
||||
- name: Build and push base
|
||||
uses: docker/build-push-action@v6
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
build-args: |
|
||||
PYTHON_VERSION=${{ matrix.python }}
|
||||
@ -60,7 +57,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@v6
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
build-args: |
|
||||
PYTHON_VERSION=${{ matrix.python }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user