Skip to content

Commit 66e392e

Browse files
committed
ci: fix scanning
1 parent f47ef74 commit 66e392e

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

.github/workflows/schedule.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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+

php/8.3/fpm-nginx/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
FROM php:8.3-fpm-alpine3.20
22

3+
# Test.
34
# Add supervisord.
45
RUN apk add --no-cache supervisor~=4
56

0 commit comments

Comments
 (0)