forked from multi-py/python-celery
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (32 loc) · 1.04 KB
/
Copy pathimage-build.yml
File metadata and controls
37 lines (32 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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.7", "3.8", "3.9", "3.10"]
package_versions: ["5.2.3", "5.2.4", "5.2.5", "5.2.6", "5.2.7"]
target_base: ["full", "slim", "alpine"]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: "Create and push"
uses: multi-py/action-python-image-builder@v1
timeout-minutes: 90
with:
package: "celery[gevent]"
package_latest_version: "5.2.7"
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 }}/"