From b7cc82e131a1442b0e8a44e536c6aaae38514147 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Fri, 20 Dec 2024 20:50:28 -0500 Subject: [PATCH] build(docker): fix docker artifacts --- .github/workflows/ci-docker.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-docker.yml b/.github/workflows/ci-docker.yml index fd9677092e9..d842b0339fb 100644 --- a/.github/workflows/ci-docker.yml +++ b/.github/workflows/ci-docker.yml @@ -317,10 +317,19 @@ jobs: if: ${{ steps.prepare.outputs.artifacts == 'true' }} working-directory: artifacts run: | + # debug directory + echo "Current directory: $(pwd)" + echo "Directory contents: $(ls -Ra)" + # artifacts will be in sub directories named after the docker target platform, e.g. `linux_amd64` # so move files to the artifacts directory # https://unix.stackexchange.com/a/52816 - find ./ -type f -exec mv -t ./ -n '{}' + + find \ + ./ \ + -depth 2 \ + -type f \ + -not -name 'provenance.json' \ + -exec mv -t ./ -n '{}' + # remove provenance file rm -f ./provenance.json