test: new run approach

This commit is contained in:
Minoplhy 2025-01-12 11:27:05 +07:00 committed by GitHub
parent cb86017d93
commit 8fd254c452
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,11 +32,8 @@ jobs:
- name: Run nginx Builds - name: Run nginx Builds
run: | run: |
#!/bin/bash build_sh='echo "${NGINX_TAG}"
BASH=$(which bash)
$BASH -l
echo "${NGINX_TAG}"
TAGS="vanilla" TAGS="vanilla"
OPTIONS="--type=nginx" OPTIONS="--type=nginx"
@ -52,7 +49,10 @@ jobs:
# Create the tarball # Create the tarball
tar czvf alpine-nginx-${NGINX_TAG}-${TAGS[$i]}.tar.gz $TAR_PATH tar czvf alpine-nginx-${NGINX_TAG}-${TAGS[$i]}.tar.gz $TAR_PATH
done done'
echo "$build_sh" > build.sh
bash build.sh
shell: alpine.sh --root {0} shell: alpine.sh --root {0}
- name: Release - name: Release