From 85ec5234c8d26923a29e6b129461e1721594fd91 Mon Sep 17 00:00:00 2001 From: Minoplhy Date: Fri, 6 Sep 2024 12:19:35 +0000 Subject: [PATCH] nginx-build.yaml: add lua and modsecurity --- .github/workflows/nginx-build.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/nginx-build.yaml b/.github/workflows/nginx-build.yaml index f8d29f9..2c5025b 100644 --- a/.github/workflows/nginx-build.yaml +++ b/.github/workflows/nginx-build.yaml @@ -30,6 +30,18 @@ jobs: echo "This Task will be run using the following tag: ${NGINX_TAG}" curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_script/build.sh | bash -s -- --nginx-tag=${NGINX_TAG} tar czvf nginx-${NGINX_TAG}-allstar.tar.gz ~/nginx_scriptbox/nginx/objs /opt/nginx-lua-module /usr/local/lua /usr/local/modsecurity + + - name: Run Nginx Build (Lua) + run: | + echo "This Task will be run using the following tag: ${NGINX_TAG}" + curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_script/build.sh | bash -s -- --nginx-tag=${NGINX_TAG} --no-modsecurity + tar czvf nginx-${NGINX_TAG}-lua.tar.gz ~/nginx_scriptbox/nginx/objs /opt/nginx-lua-module /usr/local/lua + + - name: Run Nginx Build (ModSecurity) + run: | + echo "This Task will be run using the following tag: ${NGINX_TAG}" + curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_script/build.sh | bash -s -- --nginx-tag=${NGINX_TAG} --no-lua + tar czvf nginx-${NGINX_TAG}-modsecurity.tar.gz ~/nginx_scriptbox/nginx/objs /usr/local/modsecurity - name: Release uses: softprops/action-gh-release@v2