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 83f6c12 commit 6797f41Copy full SHA for 6797f41
hooks/post-command
@@ -8,7 +8,7 @@ find_root () {
8
log 'It looks like this step was run via Docker Compose.'
9
ROOT=''
10
if [ -f Dockerfile ]; then
11
- log 'Attempting to parsed Dockerfile'
+ log 'Attempting to parse Dockerfile'
12
ROOT="$(awk '/WORKDIR/ {print $2}' Dockerfile | tail -n 1)"
13
else
14
log 'No Dockerfile found.'
@@ -17,6 +17,8 @@ find_root () {
17
if [ "$ROOT" == '' ]; then
18
log 'Could not determine root from Dockerfile. Assuming "/" for root.'
19
echo '/'
20
+ else
21
+ echo "$ROOT"
22
fi
23
elif echo "$BUILDKITE_PLUGINS" | grep -q docker-buildkite-plugin; then
24
log 'It looks like this step was run via Docker.'
0 commit comments