File tree 7 files changed +105
-5
lines changed
7 files changed +105
-5
lines changed Original file line number Diff line number Diff line change 6
6
interval : " daily"
7
7
reviewers :
8
8
- krns
9
- - PKuebler
9
+ - NeroAzure
10
10
assignees :
11
- - PKuebler
11
+ - NeroAzure
Original file line number Diff line number Diff line change
1
+ name : Build edge image
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - develop
7
+
8
+ jobs :
9
+ docker :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ -
13
+ name : Checkout
14
+ uses : actions/checkout@v2
15
+ -
16
+ name : Set up QEMU
17
+ uses : docker/setup-qemu-action@v1
18
+ -
19
+ name : Set up Docker Buildx
20
+ uses : docker/setup-buildx-action@v1
21
+ -
22
+ name : Login to DockerHub
23
+ uses : docker/login-action@v1
24
+ with :
25
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
26
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
27
+ -
28
+ name : Build and push
29
+ uses : docker/build-push-action@v2
30
+ with :
31
+ context : .
32
+ platforms : linux/amd64,linux/arm64
33
+ push : true
34
+ tags : |
35
+ sourceboat/docker-laravel:edge
Original file line number Diff line number Diff line change
1
+ name : Build stable image
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' *.*.*'
7
+
8
+ jobs :
9
+ docker :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ -
13
+ name : Checkout
14
+ uses : actions/checkout@v2
15
+ -
16
+ name : Docker meta
17
+ id : meta
18
+ uses : docker/metadata-action@v3
19
+ with :
20
+ # list of Docker images to use as base name for tags
21
+ images : |
22
+ sourceboat/docker-laravel
23
+ flavour : |
24
+ latest=true
25
+ # generate Docker tags based on the following events/attributes
26
+ tags : |
27
+ type=semver,pattern={{version}}
28
+ type=semver,pattern={{major}}.{{minor}}
29
+ type=semver,pattern={{major}}
30
+ -
31
+ name : Set up QEMU
32
+ uses : docker/setup-qemu-action@v1
33
+ -
34
+ name : Set up Docker Buildx
35
+ uses : docker/setup-buildx-action@v1
36
+ -
37
+ name : Login to DockerHub
38
+ uses : docker/login-action@v1
39
+ with :
40
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
41
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
42
+ -
43
+ name : Build and push
44
+ uses : docker/build-push-action@v2
45
+ with :
46
+ context : .
47
+ platforms : linux/amd64,linux/arm64
48
+ push : true
49
+ tags : ${{ steps.meta.outputs.tags }}
Original file line number Diff line number Diff line change
1
+ name : Build test image
2
+
3
+ on : [pull_request]
4
+
5
+ jobs :
6
+ docker :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ -
10
+ name : Checkout
11
+ uses : actions/checkout@v2
12
+ -
13
+ name : Run tests
14
+ run : docker-compose -f docker-compose.test.yml run test
Original file line number Diff line number Diff line change 1
- FROM php:8.0.7 -fpm-alpine
1
+ FROM php:8.0.8 -fpm-alpine
2
2
3
3
ENV PHP_OPCACHE_VALIDATE_TIMESTAMPS="0" \
4
4
PHP_OPCACHE_MAX_ACCELERATED_FILES="10000" \
@@ -78,7 +78,8 @@ COPY ./etc/service/ /etc/service/
78
78
RUN find /etc/service/ -name "run" -exec chmod -v +x {} \;
79
79
80
80
# copy nginx config files
81
- COPY ./etc/nginx/ /etc/nginx/
81
+ COPY ./etc/nginx/conf.d/ /etc/nginx/conf.d/
82
+ COPY ./etc/nginx/nginx.conf /etc/nginx/nginx.conf
82
83
83
84
# copy php config files
84
85
COPY ./usr/local/etc/php/ /usr/local/etc/php/
Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ Check [releases](https://github.com/sourceboat/docker-laravel/releases) for all
117
117
118
118
- [Phil-Bastian Berndt](https://github.com/pehbehbeh)
119
119
- [Philipp Kübler](https://github.com/PKuebler)
120
+ - [Kevin Buchholz](https://github.com/NeroAzure)
120
121
- [All Contributors](https://github.com/sourceboat/docker-laravel/graphs/contributors)
121
122
122
123
# # License
Original file line number Diff line number Diff line change 1
1
version : ' 3.7'
2
2
services :
3
- sut :
3
+ test :
4
4
build : .
5
5
command : /root/test/test-command.sh
6
6
environment :
You can’t perform that action at this time.
0 commit comments