File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed
Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Build and release Brotli NGINX module
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ tags :
7+ - " brotli-*"
8+
9+ jobs :
10+ build-brotli :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout source
15+ uses : actions/checkout@v3
16+
17+ - name : Build Brotli module
18+ run : |
19+ docker build -f build/Dockerfile.brotli -t brotli-builder .
20+ docker create --name extract brotli-builder
21+ docker cp extract:/usr/src/nginx-1.27.4/objs/ngx_http_brotli_filter_module.so .
22+ docker rm extract
23+
24+ - name : Upload Brotli module to GitHub Release
25+ uses : softprops/action-gh-release@v1
26+ with :
27+ files : ./ngx_http_brotli_filter_module.so
28+ env :
29+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -7,7 +7,8 @@ RUN apt-get update && apt-get install -y \
77 zlib1g-dev \
88 libssl-dev \
99 wget \
10- cmake
10+ cmake \
11+ ca-certificates
1112
1213WORKDIR /usr/src
1314RUN git clone --recursive https://github.com/google/ngx_brotli.git
You can’t perform that action at this time.
0 commit comments