forked from angristan/nginx-autoinstall
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (42 loc) · 1.06 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
name: Compile NGINX
jobs:
compile:
runs-on: ubuntu-latest
strategy:
matrix:
os:
- ubuntu:16.04
- ubuntu:18.04
- ubuntu:20.04
- debian:9
- debian:10
- debian:11
nginx_ver:
- STABLE
- MAINLINE
install_type:
- LIGHT
- FULL
ssl:
- SYSTEM
- OPENSSL
- LIBRESSL
exclude:
# FULL assumes HTTP/3 which will use BoringSSL
# So we exclude these
- install_type: FULL
ssl: OPENSSL
- install_type: FULL
ssl: LIBRESSL
steps:
- uses: actions/checkout@v2
- name: Build NGINX in Docker
run: docker build . --file .github/workflows/docker/Dockerfile --build-arg NGINX_VER=${{ matrix.nginx_ver }} --build-arg BASE_IMAGE=${{ matrix.os }} --build-arg INSTALL_TYPE=${{ matrix.install_type }} --build-arg SSL=${{ matrix.ssl }}