Skip to content

Commit 24f754e

Browse files
authored
Merge pull request #74 from laradock/fix-ci
Fix ci
2 parents b5e17a0 + 14ea9b1 commit 24f754e

File tree

3 files changed

+33
-15
lines changed

3 files changed

+33
-15
lines changed

.editorconfig

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*]
7+
indent_style = space
8+
indent_size = 4
9+
end_of_line = lf
10+
charset = utf-8
11+
trim_trailing_whitespace = true
12+
insert_final_newline = true
13+
14+
[*.md]
15+
trim_trailing_whitespace = false
16+
17+
[*.yml]
18+
indent_size = 2
19+
20+
21+
[Makefile]
22+
indent_style = tab
23+
indent_size = 4

.github/workflows/dockerpublish_old_php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Docker Image CI
1+
name: Docker Image CI (Old PHP Versions)
22

33
on:
44
push:

Makefile

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
1+
.PHONY: build all all-nc
2+
3+
VERSIONS = 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
14

25
build: all
36

47
all:
5-
docker build -f ./Dockerfile-5.6 .
6-
docker build -f ./Dockerfile-7.0 .
7-
docker build -f ./Dockerfile-7.1 .
8-
docker build -f ./Dockerfile-7.2 .
9-
docker build -f ./Dockerfile-7.3 .
10-
docker build -f ./Dockerfile-7.4 .
11-
docker build -f ./Dockerfile-8.0 .
8+
@for v in $(VERSIONS); do \
9+
docker build -f ./Dockerfile-$$v -t php-fpm:dev-$$v . ; \
10+
done
1211

1312
all-nc:
14-
docker build -f ./Dockerfile-5.6 --no-cache --pull .
15-
docker build -f ./Dockerfile-7.0 --no-cache --pull .
16-
docker build -f ./Dockerfile-7.1 --no-cache --pull .
17-
docker build -f ./Dockerfile-7.2 --no-cache --pull .
18-
docker build -f ./Dockerfile-7.3 --no-cache --pull .
19-
docker build -f ./Dockerfile-7.4 --no-cache --pull .
20-
docker build -f ./Dockerfile-8.0 --no-cache --pull .
13+
@for v in $(VERSIONS); do \
14+
docker build -f ./Dockerfile-$$v -t php-fpm:dev-$$v --no-cache --pull . ; \
15+
done

0 commit comments

Comments
 (0)