Added 3.9 to description, added regular runs, fixed naming of jobs, removed release
All checks were successful
/ build-python (3.10) (push) Successful in 1m15s
/ build-python (3.12) (push) Successful in 1m15s
/ build-python (3.9) (push) Successful in 1m17s
/ build-python (3.11) (push) Successful in 1m30s

This commit is contained in:
Firq 2024-07-22 18:22:25 +02:00
parent 8da3105ab9
commit 0616453b59
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
2 changed files with 4 additions and 16 deletions

View file

@ -1,4 +1,6 @@
on:
schedule:
- cron: '0 0 * * 1'
push:
branches:
- 'main'
@ -13,7 +15,7 @@ jobs:
strategy:
matrix:
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
name: build-python-${{ matrix.python-version }}
name: build-python
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
@ -30,17 +32,3 @@ jobs:
build-args: |
PYTHON_VERSION=${{ matrix.python-version }}
tags: forgejo.neshweb.net/ci-docker-images/python-neshweb:${{ matrix.python-version }}
release:
needs: [ build ]
if: success()
runs-on: docker
steps:
- name: Release New Version
uses: actions/forgejo-release@v1
with:
direction: upload
url: https://forgejo.neshweb.net
release-dir: release
token: ${{ secrets.FORGEJO_TOKEN }}
tag: ${{ github.ref_name }}

View file

@ -2,6 +2,6 @@
A python container bundled with NodeJS 22 based on an alpine image.
Build in a matrix for Python 3.10, 3.11 and 3.12
Build in a matrix for Python 3.9, 3.10, 3.11 and 3.12
Comes bundled with git and OpenSSH installed as well