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 64eacb1 commit 2ff57fcCopy full SHA for 2ff57fc
composer-action.bash
@@ -148,24 +148,18 @@ do
148
if printf '%s\n' "${dockerKeys[@]}" | grep -q -P "^${key}\$"; then
149
echo "Skipping $line"
150
else
151
- echo "Adding $line"
152
echo "$line" >> DOCKER_ENV
153
fi
154
done <<<$(env)
155
156
-echo "Output of DOCKER_ENV:"
157
-cat ./DOCKER_ENV
158
-
159
-exit
160
161
docker run --rm \
162
--volume "${github_action_path}/composer.phar":/usr/local/bin/composer \
163
--volume ~/.gitconfig:/root/.gitconfig \
164
--volume ~/.ssh:/root/.ssh \
165
--volume "${GITHUB_WORKSPACE}":/app \
166
--volume "/tmp/composer-cache":/tmp/composer-cache \
167
--workdir /app \
168
- --env-file <( env| cut -f1 -d= ) \
+ --env-file ./DOCKER_ENV \
169
${docker_tag} ${command_string}
170
171
echo "::set-output name=full_command::${command_string}"
0 commit comments