File tree Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Security
2
+
3
+ on :
4
+ schedule :
5
+ # Weekly on Monday at 00:00 UTC
6
+ - cron : 0 0 * * 1
7
+
8
+ jobs :
9
+ get-latest-version :
10
+ name : Get latest version
11
+ runs-on : ubuntu-latest
12
+ outputs :
13
+ tag : ${{ steps.tag.outputs.TAG }}
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+ with :
17
+ fetch-depth : 0
18
+ - name : Get latest version
19
+ id : tag
20
+ run : |
21
+ echo "TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
22
+
23
+ docker :
24
+ name : Docker
25
+ needs :
26
+ - get-latest-version
27
+ strategy :
28
+ fail-fast : false
29
+ matrix :
30
+ base :
31
+ - php/7.4/fpm-nginx
32
+ - php/8.0/fpm-nginx
33
+ - php/8.2/fpm-nginx
34
+ - php/8.3/fpm-nginx
35
+ - php/8.0/cli
36
+ - php/8.2/cli
37
+ - php/8.3/cli
38
+ uses : ./.github/workflows/docker.yaml
39
+ with :
40
+ image-version : ${{ needs.get-latest-version.outputs.tag }}
41
+ dockerfile-directory : ${{ matrix.base }}
42
+ repository : ${{ matrix.base }}
43
+ permissions :
44
+ contents : read
45
+ id-token : write
46
+
Original file line number Diff line number Diff line change 1
1
FROM php:8.3-fpm-alpine3.20
2
2
3
+ # Test.
3
4
# Add supervisord.
4
5
RUN apk add --no-cache supervisor~=4
5
6
You can’t perform that action at this time.
0 commit comments