Skip to content

Commit

Permalink
Fix bash wildcards string comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
thohng committed Sep 5, 2023
1 parent b4b6d49 commit da6fe85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
IS_SEMVER_TAG=true
echo "IS_SEMVER_TAG=$IS_SEMVER_TAG" >> $GITHUB_ENV
if [ '${{ github.ref_name }}' != *'${{ matrix.image.matching }}'* ]; then
if [[ '${{ github.ref_name }}' != *'${{ matrix.image.matching }}'* ]]; then
SKIP_DOCKER=true
echo "SKIP_DOCKER=$SKIP_DOCKER" >> $GITHUB_ENV
echo "Disable docker build for SemVer config ${{ matrix.image.ver }} on ${{ github.ref_name }}"
Expand Down

0 comments on commit da6fe85

Please sign in to comment.