11# NOTE: This file was generated via generate.sh. Don't edit it directly
22
3- name : Github CI
3+ name : ' PHP 7.4 '
44
55on :
66 pull_request :
7+ paths :
8+ - 7.4/**
79 push :
10+ paths :
11+ - 7.4/**
812
913defaults :
1014 run :
3135 matrix :
3236 target :
3337 [
34- " 8_1_11-cli-bullseye" ,
35- " 8_1_11-fpm-bullseye" ,
36- " 8_1_11-nginx-bullseye" ,
37- " 8_1_11-cli-buster" ,
38- " 8_1_11-fpm-buster" ,
39- " 8_1_11-nginx-buster" ,
40- " 8_1_11-cli-alpine3_16" ,
41- " 8_1_11-fpm-alpine3_16" ,
42- " 8_1_11-nginx-alpine3_16" ,
43- " 8_1_11-cli-alpine3_15" ,
44- " 8_1_11-fpm-alpine3_15" ,
45- " 8_1_11-nginx-alpine3_15" ,
46- " 8_0_24-cli-bullseye" ,
47- " 8_0_24-fpm-bullseye" ,
48- " 8_0_24-nginx-bullseye" ,
49- " 8_0_24-cli-buster" ,
50- " 8_0_24-fpm-buster" ,
51- " 8_0_24-nginx-buster" ,
52- " 8_0_24-cli-alpine3_16" ,
53- " 8_0_24-fpm-alpine3_16" ,
54- " 8_0_24-nginx-alpine3_16" ,
55- " 8_0_24-cli-alpine3_15" ,
56- " 8_0_24-fpm-alpine3_15" ,
57- " 8_0_24-nginx-alpine3_15" ,
5838 " 7_4_32-cli-bullseye" ,
5939 " 7_4_32-fpm-bullseye" ,
6040 " 7_4_32-nginx-bullseye" ,
@@ -69,10 +49,10 @@ jobs:
6949 " 7_4_32-nginx-alpine3_15" ,
7050 ]
7151 env :
72- ENABLE_DOCKERHUB : ${{ (secrets.DOCKERHUB_USERNAME && secrets.DOCKERHUB_TOKEN) && 'true' || 'false' }}
52+ DOCKER_HUB_PUSH : ${{ (secrets.DOCKERHUB_USERNAME && secrets.DOCKERHUB_TOKEN) && 'true' || 'false' }}
7353 steps :
7454 - name : Checkout
75- uses : actions/checkout@v2
55+ uses : actions/checkout@v3
7656 - name : Set up QEMU
7757 uses : docker/setup-qemu-action@v2
7858 with :
@@ -81,12 +61,12 @@ jobs:
8161 uses : docker/setup-buildx-action@v1
8262 with :
8363 version : v0.7.0
84- - name : Login to DockerHub
64+ - name : Login to Docker Hub
8565 uses : docker/login-action@v2
8666 with :
8767 username : ${{ secrets.DOCKERHUB_USERNAME }}
8868 password : ${{ secrets.DOCKERHUB_TOKEN }}
89- if : ${{ env.ENABLE_DOCKERHUB == 'true' }}
69+ if : ${{ env.DOCKER_HUB_PUSH == 'true' }}
9070 - name : Login to GitHub Container Registry
9171 uses : docker/login-action@v2
9272 with :
10080 set : |
10181 *.platform=linux/amd64,linux/arm,linux/arm64
10282 push : ${{ github.event_name == 'push' }}
103- if : ${{ env.ENABLE_DOCKERHUB == 'true' }}
83+ if : ${{ env.DOCKER_HUB_PUSH == 'true' }}
10484 - name : Build and push to GitHub Container Registry
10585 uses : docker/bake-action@v2
10686 env :
0 commit comments