Skip to content

Commit 81173b7

Browse files
authored
Update action.yml
1 parent 21c0589 commit 81173b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ runs:
1010
apk add --root "$TMPDIR" --repositories-file /etc/apk/repositories --allow-untrusted --no-cache --no-scripts --initdb -- docker-cli
1111
export PATH="$TMPDIR/usr/bin:$PATH"
1212
docker run --rm --user 0:0 --volume /:/hostfs --entrypoint /usr/sbin/chroot "$(docker inspect "$(hostname)" --format "{{ .Image }}")" /hostfs /bin/bash -xc \
13-
'echo "$@"; exec sudo -u "$(stat -c "%U" "$6")" /bin/bash -xc "$@"' -- \
13+
'echo "$@"; exec sudo -u "$(stat -c "%U" "$5")" /bin/bash -xc "$@"' -- \
1414
'find "$5" -type f -executable -name node -not -path "*_alpine/*" -print0 | xargs -0 -n 1 -- /bin/bash -xc "$@"' -- \
1515
'docker run --rm --volume /:/hostfs --entrypoint /bin/sh "docker.io/library/node:$("$4" -e "console.log(process.versions.node)")-alpine" -xc "$@"' -- \
1616
'apk add --no-cache -- patchelf && cp "$(which node)" "/hostfs$2" && apk info --quiet --contents libgcc libstdc++ | xargs -- tar -cC / -T- | tar -xvC "$(dirname "$(dirname "/hostfs$2")")" --strip-components 1 && patchelf --set-rpath \$ORIGIN/../lib "/hostfs$2" && ldd "/hostfs$2"' -- \

0 commit comments

Comments
 (0)