web-baseimage/.gitea/workflows/build-image.yml
Attilio Greco 0ca90ccdac
Some checks failed
Push web base image / build_base_image (3.18, 3.10) (push) Failing after 10s
Push web base image / build_base_image (3.18, 3.11) (push) Failing after 9s
Push web base image / build_base_image (3.19, 3.10) (push) Failing after 10s
Push web base image / build_base_image (3.19, 3.11) (push) Failing after 9s
Push web base image / build_base_image (3.19, 3.12) (push) Failing after 9s
Push web base image / build_base_image (3.19, 3.13) (push) Failing after 10s
Push web base image / build_base_image (3.20, 3.10) (push) Failing after 9s
Push web base image / build_base_image (3.20, 3.11) (push) Failing after 9s
Push web base image / build_base_image (3.20, 3.12) (push) Failing after 9s
Push web base image / build_base_image (3.20, 3.13) (push) Failing after 13s
Push web base image / build_base_image (3.21, 3.10) (push) Failing after 9s
Push web base image / build_base_image (3.21, 3.11) (push) Failing after 10s
Push web base image / build_base_image (3.21, 3.12) (push) Failing after 10s
Push web base image / build_base_image (3.21, 3.13) (push) Failing after 14s
update CI
2025-01-13 15:02:02 +01:00

73 lines
2.1 KiB
YAML

name: Push web base image
on:
push:
branches:
- gitea-test
release:
types: [published, created, edited]
pull_request:
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"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to ghcr
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ gitea.actor }}
password: ${{ secrets.GITEA_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# with:
# driver-opts: |
# image=moby/buildkit:v0.10.6
# - id: string
# uses: ASzc/change-string-case-action@v5
# with:
# string: ${{ github.repository_owner }}
#
# - name: Build and push base
# uses: docker/build-push-action@v6
# with:
# build-args: |
# PYTHON_VERSION=${{ matrix.python }}
# ALPINE_VERSION=${{ matrix.alpine }}
# context: .
# file: ./Docker/Dockerfile.base
# platforms: linux/amd64,linux/arm64
# push: true
# 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
# with:
# build-args: |
# PYTHON_VERSION=${{ matrix.python }}
# ALPINE_VERSION=${{ matrix.alpine }}
# context: .
# file: ./Docker/Dockerfile.poetry
# platforms: linux/amd64,linux/arm64
# push: true
# tags: ghcr.io/${{ steps.string.outputs.lowercase }}/web-base/poetry:${{ matrix.python }}-alpine${{ matrix.alpine }}