-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1.09 KB
/
main.yaml
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
37
name: Build and push all supported versions of the container image
on:
workflow_dispatch:
#“Every day at 05:05 am.”
schedule:
- cron: "5 5 * * *"
jobs:
call-build-push:
strategy:
fail-fast: false
matrix:
include:
- version: "3.3"
base_image: "docker.io/php:8.1-fpm-alpine3.20"
tag_latest: false
tag_major_minor: true
- version: "4.0"
base_image: "docker.io/php:8.2-fpm-alpine3.20"
tag_latest: false
tag_major_minor: true
- version: "4.1"
base_image: "docker.io/php:8.3-fpm-alpine3.20"
tag_latest: false
tag_major_minor: true
- version: "4.2"
base_image: "docker.io/php:8.3-fpm-alpine3.20"
tag_latest: true
tag_major_minor: true
uses: ./.github/workflows/build-push.yaml
secrets: inherit
with:
grocy_version: ${{ matrix.version }}
base_image: ${{ matrix.base_image }}
tag_latest: ${{ matrix.tag_latest }}
tag_major_minor: ${{ matrix.tag_major_minor }}