Celery Image Builder #148
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Celery Image Builder | |
on: | |
push: | |
branches: | |
- 'main' | |
schedule: | |
- cron: '4 0 * * WED' | |
jobs: | |
Celery-Builder: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python_versions: ["3.8", "3.9", "3.10", "3.11", "3.12"] | |
package_versions: ["5.3.1", "5.3.4", "5.3.5", "5.3.6", "5.4.0"] | |
target_base: ["full", "slim", "alpine"] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: "Create and push" | |
uses: multi-py/action-python-image-builder@v1 | |
timeout-minutes: 90 | |
with: | |
package: "celery[gevent]" | |
package_latest_version: "5.4.0" | |
maintainer: "Robert Hafner <tedivm@tedivm.com>" | |
python_version: ${{ matrix.python_versions }} | |
target_base: ${{ matrix.target_base }} | |
package_version: ${{ matrix.package_versions }} | |
registry_password: ${{ secrets.GITHUB_TOKEN }} | |
dockerfile: "${{ github.workspace }}/dockerfile" | |
docker_build_path: "${{ github.workspace }}/" | |