tests: substitution fix

This commit is contained in:
Minoplhy 2025-01-12 11:04:07 +07:00 committed by GitHub
parent 6451c7045d
commit cb6f963466
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]
@ -24,12 +25,14 @@ jobs:
TAG_NAME=${GITHUB_REF##*/} TAG_NAME=${GITHUB_REF##*/}
NGINX_TAG=${TAG_NAME#alpine-nginx-} NGINX_TAG=${TAG_NAME#alpine-nginx-}
echo "NGINX_TAG=${NGINX_TAG}" >> $GITHUB_ENV #echo "NGINX_TAG=${NGINX_TAG}" >> $GITHUB_ENV
echo "NGINX_TAG=release-1.27.3" >> $GITHUB_ENV
echo "NGINX_TAG=${NGINX_TAG}" echo "NGINX_TAG=${NGINX_TAG}"
shell: alpine.sh {0} shell: alpine.sh {0}
- name: Run nginx Builds - name: Run nginx Builds
run: | run: |
#!/bin/bash
echo "${NGINX_TAG}" echo "${NGINX_TAG}"
TAGS="vanilla" TAGS="vanilla"
OPTIONS="--type=nginx" OPTIONS="--type=nginx"