From 06e1bf0f7712bfd960f63f5bbb5a42da5fd25026 Mon Sep 17 00:00:00 2001 From: Julien Bigot Date: Mon, 2 Dec 2024 17:19:18 +0100 Subject: [PATCH] ... --- .github/workflows/stable.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/stable.yml b/.github/workflows/stable.yml index 1cba4ce0..99c14426 100644 --- a/.github/workflows/stable.yml +++ b/.github/workflows/stable.yml @@ -59,7 +59,8 @@ jobs: ARTIFACT: ${{ steps.artifact.output.artifact-url }} run: | echo artifact-url: "${ARTIFACT}" - echo artifact-url2: "${{ steps.artifact.output.artifact-url }}" + echo artifact-url2: "${{ steps.artifact.output.artifact-url }}" + echo artifact.output: "${{ steps.artifact.output }}" echo "${ARTIFACT}" > artifact.url tar -c artifact.url | docker import - ghcr.io/pdidev/pkgs/lastbuild:${DISTRIB} docker push ghcr.io/pdidev/pkgs/lastbuild:${DISTRIB} @@ -71,9 +72,9 @@ jobs: for DISTRIB in debian fedora ubuntu do CID="$(docker create ghcr.io/pdidev/pkgs/lastbuild:debian /bin/bash)" - URL="$(docker cp "${CID}:artifact.url" -)" - echo curl "${URL}" - curl "${URL}" | tar -x + docker cp "${CID}:artifact.url" "../${DISTRIB}.url" + echo curl "$(cat ../${DISTRIB}.url)" + curl "$(cat ../${DISTRIB}.url)" | tar -x done - name: Upload page artifact uses: actions/upload-pages-artifact@v3