mirror of
https://github.com/minoplhy/deployment.git
synced 2025-04-21 18:46:57 +00:00
test: do bash shell
This commit is contained in:
parent
953b9b22e7
commit
cb86017d93
7
.github/workflows/alpine-nginx-build.yaml
vendored
7
.github/workflows/alpine-nginx-build.yaml
vendored
@ -17,7 +17,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Run script inside Alpine chroot as root
|
- name: Run script inside Alpine chroot as root
|
||||||
run: |
|
run: |
|
||||||
apk add curl bash
|
apk add curl bash bash-completion
|
||||||
shell: alpine.sh --root {0}
|
shell: alpine.sh --root {0}
|
||||||
|
|
||||||
- name: Set up environment variables
|
- name: Set up environment variables
|
||||||
@ -33,6 +33,9 @@ jobs:
|
|||||||
- name: Run nginx Builds
|
- name: Run nginx Builds
|
||||||
run: |
|
run: |
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
BASH=$(which bash)
|
||||||
|
$BASH -l
|
||||||
|
|
||||||
echo "${NGINX_TAG}"
|
echo "${NGINX_TAG}"
|
||||||
TAGS="vanilla"
|
TAGS="vanilla"
|
||||||
OPTIONS="--type=nginx"
|
OPTIONS="--type=nginx"
|
||||||
@ -42,7 +45,7 @@ jobs:
|
|||||||
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]}"
|
||||||
|
|
||||||
#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
|
||||||
HOMEDIRECTORY=~/nginx_scriptbox
|
HOMEDIRECTORY=~/nginx_scriptbox
|
||||||
|
Loading…
x
Reference in New Issue
Block a user