Skip to content

Commit 2fded1e

Browse files
committed
8.2
1 parent 71859c1 commit 2fded1e

File tree

1 file changed

+212
-0
lines changed

1 file changed

+212
-0
lines changed
Lines changed: 212 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,212 @@
1+
2+
name: 构建和提交docker-8.2-php
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
paths:
9+
- "**"
10+
- "./*"
11+
- "!openresty/**"
12+
- "!other/**"
13+
- "!docker-build/**"
14+
- "!.github/workflows/*.yml"
15+
- ".github/workflows/docker-8.2-php.yml"
16+
17+
jobs:
18+
setup-build-publish:
19+
runs-on: ubuntu-latest
20+
name: 构建和推送docker镜像
21+
steps:
22+
23+
24+
-
25+
name: 登录 Docker Hub
26+
uses: docker/login-action@v2
27+
with:
28+
username: adockero
29+
password: ${{ secrets.PASSWORD }}
30+
31+
32+
33+
34+
- name: Checkout
35+
# 使用action库 actions/checkout获取源码
36+
uses: actions/[email protected]
37+
38+
39+
40+
41+
42+
# ---------------dev--alpine---start---------------------
43+
44+
45+
- name: 8.2-alpine-php-dev-not-ssh
46+
uses: docker/build-push-action@v3
47+
with:
48+
# Comma-delimited list of tags. These will be added to the registry/repository to form the image's tags
49+
tags: |
50+
adockero/php-nginx:8.2-alpine-php-dev-not-ssh
51+
# pull: true
52+
# push: false
53+
push: true
54+
context: ./
55+
# Path to the Dockerfile (Default is '{path}/Dockerfile')
56+
# path: ./dockerfile
57+
file: Dockerfile.base
58+
# Comma-delimited list of build-time variables
59+
build-args: FROM_ARG=webdevops/php-dev:8.2-alpine
60+
# Adds labels with git repository information to the built image
61+
labels: true
62+
63+
64+
65+
- name: 8.2-alpine-php-dev-not-ssh-fpm
66+
uses: docker/build-push-action@v3
67+
with:
68+
# Comma-delimited list of tags. These will be added to the registry/repository to form the image's tags
69+
tags: |
70+
adockero/php-nginx:8.2-alpine-php-dev-not-ssh-fpm
71+
# pull: false
72+
# push: true
73+
push: true
74+
context: ./
75+
# Path to the Dockerfile (Default is '{path}/Dockerfile')
76+
# path: ./dockerfile
77+
file: Dockerfile.base.fpm
78+
# Comma-delimited list of build-time variables
79+
build-args: FROM_ARG=adockero/php-nginx:8.2-alpine-php-dev-not-ssh
80+
# Adds labels with git repository information to the built image
81+
labels: true
82+
83+
84+
- name: 8.2-alpine-php-dev
85+
uses: docker/build-push-action@v3
86+
with:
87+
# Comma-delimited list of tags. These will be added to the registry/repository to form the image's tags
88+
tags: |
89+
adockero/php-nginx:8.2-alpine-php-dev
90+
# pull: false
91+
# push: true
92+
push: true
93+
context: ./
94+
# Path to the Dockerfile (Default is '{path}/Dockerfile')
95+
# path: ./dockerfile
96+
file: Dockerfile.sshd
97+
# Comma-delimited list of build-time variables
98+
build-args: FROM_ARG=adockero/php-nginx:8.2-alpine-php-dev-not-ssh-fpm
99+
# Adds labels with git repository information to the built image
100+
labels: true
101+
102+
103+
- name: 8.2-alpine-php-dev-ffmpeg
104+
uses: docker/build-push-action@v3
105+
with:
106+
# Comma-delimited list of tags. These will be added to the registry/repository to form the image's tags
107+
tags: |
108+
adockero/php-nginx:8.2-alpine-php-dev-ffmpeg
109+
# pull: false
110+
# push: true
111+
push: true
112+
context: ./
113+
# Path to the Dockerfile (Default is '{path}/Dockerfile')
114+
# path: ./dockerfile
115+
file: Dockerfile.build-dir
116+
# Comma-delimited list of build-time variables
117+
build-args: |
118+
FROM_ARG=adockero/php-nginx:8.2-alpine-php-dev
119+
BUILD_SCRIPT_ARG=install-ffmpeg.sh
120+
# Adds labels with git repository information to the built image
121+
labels: true
122+
123+
# ---------------dev--alpine---end---------------------
124+
125+
# ---------------dev--ubuntu---start---------------------
126+
127+
128+
- name: 8.2-ubuntu-php-dev-not-ssh
129+
uses: docker/build-push-action@v3
130+
with:
131+
# Comma-delimited list of tags. These will be added to the registry/repository to form the image's tags
132+
tags: |
133+
adockero/php-nginx:8.2-ubuntu-php-dev-not-ssh
134+
# pull: true
135+
# push: false
136+
push: true
137+
context: ./
138+
# Path to the Dockerfile (Default is '{path}/Dockerfile')
139+
# path: ./dockerfile
140+
file: Dockerfile.base
141+
# Comma-delimited list of build-time variables
142+
build-args: FROM_ARG=webdevops/php-dev:8.2
143+
# Adds labels with git repository information to the built image
144+
labels: true
145+
146+
147+
- name: 8.2-ubuntu-php-dev-not-ssh-fpm
148+
uses: docker/build-push-action@v3
149+
with:
150+
# Comma-delimited list of tags. These will be added to the registry/repository to form the image's tags
151+
tags: |
152+
adockero/php-nginx:8.2-ubuntu-php-dev-not-ssh-fpm
153+
# pull: false
154+
# push: true
155+
push: true
156+
context: ./
157+
# Path to the Dockerfile (Default is '{path}/Dockerfile')
158+
# path: ./dockerfile
159+
file: Dockerfile.base.fpm
160+
# Comma-delimited list of build-time variables
161+
build-args: FROM_ARG=adockero/php-nginx:8.2-ubuntu-php-dev-not-ssh
162+
# Adds labels with git repository information to the built image
163+
labels: true
164+
165+
166+
- name: 8.2-ubuntu-php-dev
167+
uses: docker/build-push-action@v3
168+
with:
169+
# Comma-delimited list of tags. These will be added to the registry/repository to form the image's tags
170+
tags: |
171+
adockero/php-nginx:8.2-ubuntu-php-dev
172+
# pull: false
173+
# push: true
174+
push: true
175+
context: ./
176+
# Path to the Dockerfile (Default is '{path}/Dockerfile')
177+
# path: ./dockerfile
178+
file: Dockerfile.sshd
179+
# Comma-delimited list of build-time variables
180+
build-args: FROM_ARG=adockero/php-nginx:8.2-ubuntu-php-dev-not-ssh-fpm
181+
# Adds labels with git repository information to the built image
182+
labels: true
183+
184+
185+
- name: 8.2-ubuntu-php-dev-ffmpeg
186+
uses: docker/build-push-action@v3
187+
with:
188+
# Comma-delimited list of tags. These will be added to the registry/repository to form the image's tags
189+
tags: |
190+
adockero/php-nginx:8.2-ubuntu-php-dev-ffmpeg
191+
# pull: false
192+
# push: true
193+
push: true
194+
context: ./
195+
# Path to the Dockerfile (Default is '{path}/Dockerfile')
196+
# path: ./dockerfile
197+
file: Dockerfile.build-dir
198+
# Comma-delimited list of build-time variables
199+
build-args: |
200+
FROM_ARG=adockero/php-nginx:8.2-ubuntu-php-dev
201+
BUILD_SCRIPT_ARG=install-ffmpeg.sh
202+
# Adds labels with git repository information to the built image
203+
labels: true
204+
205+
206+
207+
# ---------------dev--ubuntu---end---------------------
208+
209+
210+
211+
212+

0 commit comments

Comments
 (0)