Compare commits

...

10 Commits

Author SHA1 Message Date
Attilio Greco
1aafd38ac3 update python image
Some checks failed
Push web base image / build_base_image (3.18, 3.10) (push) Failing after 1m53s
Push web base image / build_base_image (3.18, 3.11) (push) Failing after 13s
Push web base image / build_base_image (3.19, 3.10) (push) Failing after 13s
Push web base image / build_base_image (3.19, 3.11) (push) Failing after 14s
Push web base image / build_base_image (3.19, 3.12) (push) Failing after 14s
Push web base image / build_base_image (3.19, 3.13) (push) Failing after 14s
Push web base image / build_base_image (3.20, 3.10) (push) Failing after 13s
Push web base image / build_base_image (3.20, 3.11) (push) Failing after 13s
Push web base image / build_base_image (3.20, 3.12) (push) Failing after 13s
Push web base image / build_base_image (3.20, 3.13) (push) Failing after 14s
Push web base image / build_base_image (3.21, 3.10) (push) Failing after 17s
Push web base image / build_base_image (3.21, 3.11) (push) Failing after 12s
Push web base image / build_base_image (3.21, 3.12) (push) Failing after 12s
Push web base image / build_base_image (3.21, 3.13) (push) Failing after 14s
2024-12-20 17:50:57 +01:00
Attilio Greco
2ede7e10a8 update python version 2024-12-20 17:44:48 +01:00
Attilio Greco
fc4a9597b6 update 2024-11-29 16:14:18 +01:00
Attilio Greco
45178cbd65 update build image 2024-11-29 16:11:34 +01:00
Attilio Greco
470640cd53 add pytyhon 3.12 and alpine 3.20 2024-06-06 09:45:10 +02:00
Attilio Greco
2a072ff3ea fix matix compatibility 2023-12-11 12:10:39 +01:00
Attilio Greco
89684e00a3 update alpine version 2023-12-11 12:07:17 +01:00
Attilio Greco
d48393d9b9
exclude python 3.10.9 with 3.15 2023-02-16 12:25:44 +01:00
Attilio Greco
1df292d882
add new python version 2023-02-16 12:20:56 +01:00
Attilio Greco
e85e187cca
workaround https://github.com/docker/build-push-action/issues/761#issuecomment-1383822381 2023-01-18 11:30:55 +01:00

View File

@ -10,34 +10,37 @@ jobs:
build_base_image: build_base_image:
strategy: strategy:
matrix: matrix:
python: ["3.8", "3.9", "3.10", "3.11"] python: ["3.10", "3.11", "3.12", "3.13"]
alpine: ["3.15", "3.16", "3.17"] alpine: ["3.18", "3.19", "3.20", "3.21"]
include: # include:
- python: "3.10.6" # - python: "3.10.6"
alpine: "3.16" # alpine: "3.16"
# exclude: exclude:
# - python: 3.11.1 - python: "3.12"
# alpine: "3.15" alpine: "3.18"
- python: "3.13"
alpine: "3.18"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Login to ghcr - name: Login to ghcr
uses: docker/login-action@v2 uses: docker/login-action@v3
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@v2 uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2 uses: docker/setup-buildx-action@v3
with: # with:
platforms: linux/amd64,linux/arm64 # driver-opts: |
# image=moby/buildkit:v0.10.6
- id: string - id: string
uses: ASzc/change-string-case-action@v5 uses: ASzc/change-string-case-action@v5
@ -45,7 +48,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@v3 uses: docker/build-push-action@v6
with: with:
build-args: | build-args: |
PYTHON_VERSION=${{ matrix.python }} PYTHON_VERSION=${{ matrix.python }}
@ -57,7 +60,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@v3 uses: docker/build-push-action@v6
with: with:
build-args: | build-args: |
PYTHON_VERSION=${{ matrix.python }} PYTHON_VERSION=${{ matrix.python }}