mirror of
https://github.com/minoplhy/deployment.git
synced 2025-04-21 18:46:57 +00:00
re-push after clean up mess up
This commit is contained in:
parent
c5581afcfa
commit
99ae7c2e79
12
.github/workflows/freenginx-build.yaml
vendored
12
.github/workflows/freenginx-build.yaml
vendored
@ -19,6 +19,9 @@ jobs:
|
|||||||
echo "NGINX_TAG=${NGINX_TAG}" >> $GITHUB_ENV
|
echo "NGINX_TAG=${NGINX_TAG}" >> $GITHUB_ENV
|
||||||
echo "NGINX_TAG=${NGINX_TAG}"
|
echo "NGINX_TAG=${NGINX_TAG}"
|
||||||
|
|
||||||
|
- name: Run freenginx Builds
|
||||||
|
run: |
|
||||||
|
#!/bin/bash
|
||||||
TAGS=("vanilla" "allstar" "lua" "modsecurity")
|
TAGS=("vanilla" "allstar" "lua" "modsecurity")
|
||||||
OPTIONS=(
|
OPTIONS=(
|
||||||
"--type=freenginx"
|
"--type=freenginx"
|
||||||
@ -27,15 +30,8 @@ jobs:
|
|||||||
"--modsecurity --type=freenginx"
|
"--modsecurity --type=freenginx"
|
||||||
)
|
)
|
||||||
|
|
||||||
echo "TAGS=${TAGS[*]}" >> $GITHUB_ENV
|
|
||||||
echo "OPTIONS=${OPTIONS[*]}" >> $GITHUB_ENV
|
|
||||||
- name: Run freenginx Builds
|
|
||||||
run: |
|
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
echo "This Task will be run using the following tag: ${NGINX_TAG}"
|
|
||||||
|
|
||||||
for i in ${!TAGS[@]}; do
|
for i in ${!TAGS[@]}; do
|
||||||
|
echo "This Task will be run using the following tag: ${NGINX_TAG}"
|
||||||
echo "This Task will be run using the following version: ${TAGS[$i]}"
|
echo "This Task will be run using the following version: ${TAGS[$i]}"
|
||||||
echo "This Task will be run using the following options: ${OPTIONS[$i]}"
|
echo "This Task will be run using the following options: ${OPTIONS[$i]}"
|
||||||
|
|
||||||
|
21
.github/workflows/nginx-build.yaml
vendored
21
.github/workflows/nginx-build.yaml
vendored
@ -19,20 +19,21 @@ jobs:
|
|||||||
echo "NGINX_TAG=${NGINX_TAG}" >> $GITHUB_ENV
|
echo "NGINX_TAG=${NGINX_TAG}" >> $GITHUB_ENV
|
||||||
echo "NGINX_TAG=${NGINX_TAG}"
|
echo "NGINX_TAG=${NGINX_TAG}"
|
||||||
|
|
||||||
TAGS=("vanilla" "allstar" "lua" "modsecurity")
|
|
||||||
OPTIONS=(
|
|
||||||
"--type=nginx"
|
|
||||||
"--lua --modsecurity --type=nginx"
|
|
||||||
"--lua --type=nginx"
|
|
||||||
"--modsecurity --type=nginx"
|
|
||||||
)
|
|
||||||
|
|
||||||
echo "TAGS=${TAGS[*]}" >> $GITHUB_ENV
|
|
||||||
echo "OPTIONS=${OPTIONS[*]}" >> $GITHUB_ENV
|
|
||||||
- name: Run nginx Builds
|
- name: Run nginx Builds
|
||||||
run: |
|
run: |
|
||||||
|
TAGS=("vanilla" "allstar" "lua" "modsecurity")
|
||||||
|
OPTIONS=(
|
||||||
|
"--type=freenginx"
|
||||||
|
"--lua --modsecurity --type=freenginx"
|
||||||
|
"--lua --type=freenginx"
|
||||||
|
"--modsecurity --type=freenginx"
|
||||||
|
)
|
||||||
|
|
||||||
for i in ${!TAGS[@]}; do
|
for i in ${!TAGS[@]}; do
|
||||||
echo "This Task will be run using the following tag: ${NGINX_TAG}"
|
echo "This Task will be run using the following tag: ${NGINX_TAG}"
|
||||||
|
echo "This Task will be run using the following version: ${TAGS[$i]}"
|
||||||
|
echo "This Task will be run using the following options: ${OPTIONS[$i]}"
|
||||||
|
|
||||||
curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_script/build.sh | bash -s -- --nginx-tag=${NGINX_TAG} ${OPTIONS[$i]}
|
curl https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_script/build.sh | bash -s -- --nginx-tag=${NGINX_TAG} ${OPTIONS[$i]}
|
||||||
|
|
||||||
# Prepare tar file paths
|
# Prepare tar file paths
|
||||||
|
Loading…
x
Reference in New Issue
Block a user