Skip to content

Commit a8dd55b

Browse files
chore: update global workflows (#380)
1 parent e82c1da commit a8dd55b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/ci-docker.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,10 +317,20 @@ jobs:
317317
if: ${{ steps.prepare.outputs.artifacts == 'true' }}
318318
working-directory: artifacts
319319
run: |
320+
# debug directory
321+
echo "Current directory: $(pwd)"
322+
echo "Directory contents: $(ls -Ra)"
323+
320324
# artifacts will be in sub directories named after the docker target platform, e.g. `linux_amd64`
321325
# so move files to the artifacts directory
322326
# https://unix.stackexchange.com/a/52816
323-
find ./ -type f -exec mv -t ./ -n '{}' +
327+
find \
328+
./ \
329+
-maxdepth 2 \
330+
-mindepth 2 \
331+
-type f \
332+
-not -name 'provenance.json' \
333+
-exec mv -t ./ -n '{}' +
324334
325335
# remove provenance file
326336
rm -f ./provenance.json

0 commit comments

Comments
 (0)