Skip to content

Commit b87d553

Browse files
committed
Fix issue with collecting asset outside docker buildx
1 parent 5ea5070 commit b87d553

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

collect-assets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ echo "$assets"
1515
mkdir -p "$assets"
1616

1717
# If we have dist dir that means we built it on host machine
18-
if test -d dist; then
19-
cp dist/bin/php "$assets/${APP_NAME}"
18+
if test -d build/dist; then
19+
cp build/dist/bin/php "$assets/${APP_NAME}"
2020
else
2121
id=$(docker create "${DOCKER_IMAGE}")
2222
docker cp "$id:/usr/bin/${APP_NAME}" "$assets/${APP_NAME}"

0 commit comments

Comments
 (0)