test: output running directory

This commit is contained in:
Minoplhy 2025-01-12 12:12:53 +07:00 committed by GitHub
parent a09d3b8202
commit c57206b960
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,7 @@ on:
push: push:
tags: tags:
- alpine-nginx-* - alpine-nginx-*
workflow_dispatch:
jobs: jobs:
build_nginx: build_nginx:
runs-on: [ubuntu-latest] runs-on: [ubuntu-latest]
@ -31,10 +32,13 @@ jobs:
- name: Run nginx Builds - name: Run nginx Builds
run: | run: |
build_sh='echo "${NGINX_TAG}" build_sh='echo "${NGINX_TAG}"
TAGS="vanilla" TAGS="vanilla"
OPTIONS="--type=nginx" OPTIONS="--type=nginx"
RUNNING_PATH=$(pwd)
echo "RUNNING PATH: ${RUNNING_PATH}" # This output where in the system is running
echo "HOME PATH: ${HOME}"
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 version: ${TAGS[$i]}"