Added 3.9 to description, added regular runs, fixed naming of jobs, removed release
This commit is contained in:
parent
8da3105ab9
commit
0616453b59
2 changed files with 4 additions and 16 deletions
|
@ -1,4 +1,6 @@
|
||||||
on:
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * 1'
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
|
@ -13,7 +15,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
|
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
|
||||||
name: build-python-${{ matrix.python-version }}
|
name: build-python
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
@ -30,17 +32,3 @@ jobs:
|
||||||
build-args: |
|
build-args: |
|
||||||
PYTHON_VERSION=${{ matrix.python-version }}
|
PYTHON_VERSION=${{ matrix.python-version }}
|
||||||
tags: forgejo.neshweb.net/ci-docker-images/python-neshweb:${{ 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 }}
|
|
||||||
|
|
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
A python container bundled with NodeJS 22 based on an alpine image.
|
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
|
Comes bundled with git and OpenSSH installed as well
|
||||||
|
|
Loading…
Reference in a new issue