github: remove whitespace from env variable

This commit is contained in:
Ramon Roche 2022-02-08 21:49:49 -08:00
parent 195082ccd1
commit 5132ffc0e0
No known key found for this signature in database
GPG Key ID: 275988FAE5821713

View File

@ -26,13 +26,13 @@ on:
env:
DOCKER_TAG: |
"px4io/px4-dev:${{
$(echo "px4io/px4-dev:${{
github.event_name == 'pull_request' && github.sha ||
(
github.event_name == 'push' && 'latest' ||
github.event.release.name
)
}}"
}}" | tr -d '\n')
jobs:
build_docker:
@ -134,5 +134,4 @@ jobs:
--env=LOCAL_USER_ID="$(id -u)" \
--volume=/tmp:/tmp:rw \
--volume=${{ env.GITHUB_ACTION_PATH }}:${{ env.GITHUB_ACTION_PATH }}:rw \
${{ env.DOCKER_TAG }} \
/bin/bash -c "make px4_fmu-v6x"
${{ env.DOCKER_TAG }} /bin/bash -c "make px4_fmu-v6x"