This repository was archived by the owner on Feb 16, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Binaries
2+
3+ on :
4+ release :
5+ types :
6+ - published
7+
8+ jobs :
9+ publish-binaries :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Retrieve artifacts
13+ run : |
14+ mkdir -p ./artifacts
15+ docker create --name amd64 linuxserver/docker-compose:amd64-${{ github.event.release.tag_name }}
16+ docker cp amd64:/usr/local/bin/docker-compose ./artifacts/docker-compose-amd64
17+ docker cp amd64:/usr/local/bin/docker ./artifacts/docker-cli-amd64
18+ docker create --name armhf linuxserver/docker-compose:arm32v7-${{ github.event.release.tag_name }}
19+ docker cp armhf:/usr/local/bin/docker-compose ./artifacts/docker-compose-armhf
20+ docker cp armhf:/usr/local/bin/docker ./artifacts/docker-cli-armhf
21+ docker create --name arm64 linuxserver/docker-compose:arm64v8-${{ github.event.release.tag_name }}
22+ docker cp arm64:/usr/local/bin/docker-compose ./artifacts/docker-compose-arm64
23+ docker cp arm64:/usr/local/bin/docker ./artifacts/docker-cli-arm64
24+ - name : Copy build-artifacts
25+ uses : skx/github-action-publish-binaries@master
26+ env :
27+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28+ with :
29+ args : " ./artifacts/*"
You can’t perform that action at this time.
0 commit comments