Skip to content

Commit 20a525e

Browse files
authored
Remove - from php version when mapping to docker tag
1 parent a6faf15 commit 20a525e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/security-scan.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: echo "ZTS_SUFFIX=`echo '${{ matrix.branch-name }}' | grep zts > /dev/null && echo '-zts' || echo ''`" > $GITHUB_ENV
3434

3535
- name: "PHP_VERSION Env"
36-
run: echo "PHP_VERSION=`grep "ARG PHP_VERSION" Dockerfile | cut -f 2 -d '"'`${{ env.ZTS_SUFFIX }}" > $GITHUB_ENV
36+
run: echo "PHP_VERSION=`grep "ARG PHP_VERSION" Dockerfile | cut -f 2 -d '"' | tr -d '-'`${{ env.ZTS_SUFFIX }}" > $GITHUB_ENV
3737

3838
- name: "BRANCH_SHA Env"
3939
run: echo "BRANCH_SHA=`git rev-parse HEAD`" >> $GITHUB_ENV

0 commit comments

Comments
 (0)