nginx-build.yaml: adding editions

This commit is contained in:
Minoplhy 2024-09-04 16:23:20 +00:00 committed by GitHub
parent f839477b6d
commit ae83a32b05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,11 +19,17 @@ jobs:
echo "NGINX_TAG=${NGINX_TAG}" >> $GITHUB_ENV
echo "NGINX_TAG=${NGINX_TAG}"
- name: Run Nginx Build
- name: Run Nginx Build (Vanilla)
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} -nl -nm
tar czvf nginx-${NGINX_TAG}.tar.gz ~/nginx_scriptbox/nginx/objs
tar czvf nginx-${NGINX_TAG}-vanilla.tar.gz ~/nginx_scriptbox/nginx/objs
- name: Run Nginx Build (All Star)
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}
tar czvf nginx-${NGINX_TAG}-allstar.tar.gz ~/nginx_scriptbox/nginx/objs /var/lib/modsecurity /opt/nginx-lua-module/
- name: Release
uses: softprops/action-gh-release@v2