Skip to content

Commit

Permalink
shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
fedordikarev committed Jan 30, 2025
1 parent 8ed2051 commit 8368988
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/50_go_build-one-arch-one-os-one-path.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,11 @@ jobs:
run: |
GOARCH=${{ steps.setup-keys.outputs.goarch }} \
GOOS=${{ steps.setup-keys.outputs.goos }} \
go build -v -o build/$(basename ${{ inputs.cmd-path }}) ${{ inputs.cmd-path }}
go build -v -o "build/$(basename ${{ inputs.cmd-path }})" ${{ inputs.cmd-path }}
- name: Pack as Docker image
if: ${{ inputs.pack-to-docker-image }}
run: |

Check failure on line 184 in .github/workflows/50_go_build-one-arch-one-os-one-path.yml

View workflow job for this annotation

GitHub Actions / workflows-sanity-checks / GitHub Actions Sanity Checks

[actionlint] reported by reviewdog 🐶 shellcheck reported issue in this script: SC2046:warning:2:29: Quote this to prevent word splitting [shellcheck] Raw Output: .github/workflows/50_go_build-one-arch-one-os-one-path.yml:184:9: shellcheck reported issue in this script: SC2046:warning:2:29: Quote this to prevent word splitting [shellcheck]
docker build -t ${{ github.event.repository.name }}-$(basename ${{ inputs.cmd-path }})):${{ github.event.sha }} \
docker build -t "${{ github.event.repository.name }}-$(basename ${{ inputs.cmd-path }})):${{ github.event.sha }}" \
--build-arg BINARY_TO_ADD=$(basename ${{ inputs.cmd-path }}) \
--file Dockerfiles/go-app-common.Dockerfile \
output/
Expand Down

0 comments on commit 8368988

Please sign in to comment.