We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 351a419 commit 5107fceCopy full SHA for 5107fce
.github/workflows/build_docker_image_and_push_to_ecr.yaml
@@ -128,13 +128,13 @@ jobs:
128
129
- name: set docker build args and secrets
130
run: |
131
- BUILD_ARGS=${{ inputs.dockerBuildArgs }}
+ BUILD_ARGS=( ${{ inputs.dockerBuildArgs }} )
132
if [ "${{ inputs.setNodeVersion }}" = true ]; then
133
- BUILD_ARGS="${BUILD_ARGS}\nNODE_VERSION=$(head -1 ${{ inputs.nvmrcPath }})"
+ BUILD_ARGS+=(NODE_VERSION=$(head -1 ${{ inputs.nvmrcPath }}))
134
fi
135
136
echo 'BUILD_ARGS<<EOF' >> $GITHUB_ENV
137
- echo -e ${BUILD_ARGS} >> $GITHUB_ENV
+ printf "%s\n" "${BUILD_ARGS[@]}" >> $GITHUB_ENV
138
echo 'EOF' >> $GITHUB_ENV
139
140
# Create secret file for build
0 commit comments