File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Docker
2+
3+ on :
4+ push :
5+ branches : master
6+
7+ jobs :
8+ docker :
9+ runs-on : ubuntu-latest
10+ strategy :
11+ matrix :
12+ include :
13+ - version : " 5.5"
14+ - version : " 5.5-fpm"
15+ - version : " 5.6"
16+ - version : " 5.6-fpm"
17+ - version : " 7.0"
18+ - version : " 7.0-fpm"
19+ - version : " 7.1"
20+ - version : " 7.1-fpm"
21+ - version : " 7.2"
22+ - version : " 7.2-fpm"
23+ - version : " 7.3"
24+ - version : " 7.3-fpm"
25+ - version : " 7.4"
26+ - version : " 7.4-fpm"
27+ - version : " 8.0"
28+ - version : " 8.0-fpm"
29+
30+ fail-fast : false
31+
32+ name : Docker (dockette/php:${{ matrix.version }})
33+
34+ steps :
35+ - name : Checkout
36+ uses : actions/checkout@v2
37+
38+ - name : Login to DockerHub
39+ uses : docker/login-action@v1
40+ with :
41+ username : ${{ secrets.DOCKERHUB_USERNAME }}
42+ password : ${{ secrets.DOCKERHUB_TOKEN }}
43+
44+ - name : Set up QEMU
45+ uses : docker/setup-qemu-action@v1
46+
47+ - name : Set up Docker Buildx
48+ uses : docker/setup-buildx-action@v1
49+
50+ - name : Build and push
51+ uses : docker/build-push-action@v2
52+ with :
53+ context : ${{ matrix.version }}
54+ push : true
55+ tags : dockette/php:${{ matrix.version }}
56+ platforms : linux/amd64,linux/arm64
You can’t perform that action at this time.
0 commit comments