Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
jbigot committed Dec 2, 2024
1 parent dad2f10 commit 06e1bf0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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
Expand Down

0 comments on commit 06e1bf0

Please sign in to comment.