Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit 6d31471

Browse files
committed
Publish cli binaries, but not compose
1 parent cf0b526 commit 6d31471

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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 ./artifacts/docker-cli-amd64
17+
docker create --name armhf linuxserver/docker-compose:arm32v7-${{ github.event.release.tag_name }}
18+
docker cp armhf:/usr/local/bin/docker ./artifacts/docker-cli-armhf
19+
docker create --name arm64 linuxserver/docker-compose:arm64v8-${{ github.event.release.tag_name }}
20+
docker cp arm64:/usr/local/bin/docker ./artifacts/docker-cli-arm64
21+
- name: Copy build-artifacts
22+
uses: skx/github-action-publish-binaries@master
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
with:
26+
args: "./artifacts/*"

0 commit comments

Comments
 (0)