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

Commit 5491a84

Browse files
committed
publish binaries to github releases
1 parent baaee18 commit 5491a84

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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/*"

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ sudo chmod +x /usr/local/bin/docker-compose
8282
```
8383
Running these two commands on your docker host once will let you issue commands such as `docker-compose up -d` and the docker-compose container will do its job behind the scenes.
8484

85+
### Binaries
86+
87+
We are also providing the binaries for both docker-compose and docker-cli for all three arches in Github releases. You can download the correct binaries for your arch directly and drop into `/usr/local/bin/`.
8588

8689
## Docker Mods
8790
[![Docker Mods](https://img.shields.io/badge/dynamic/yaml?style=for-the-badge&color=E68523&label=mods&query=%24.mods%5B%27docker-compose%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml)](https://mods.linuxserver.io/?mod=docker-compose "view available mods for this container.")
@@ -122,6 +125,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
122125

123126
## Versions
124127

128+
* **06.07.20:** - Publish docker-compose and docker-cli binaries in Github releases.
125129
* **01.07.20:** - Release alpine based images at `alpine` tag.
126130
* **04.06.20:** - Bump docker-cli to 19.03.8, auto-detect python3 version.
127131
* **19.05.20:** - Initial Release.

readme-vars.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ full_custom_readme: |
8888
```
8989
Running these two commands on your docker host once will let you issue commands such as `docker-compose up -d` and the docker-compose container will do its job behind the scenes.
9090
91+
### Binaries
92+
93+
We are also providing the binaries for both docker-compose and docker-cli for all three arches in Github releases. You can download the correct binaries for your arch directly and drop into `/usr/local/bin/`.
9194
9295
## Docker Mods
9396
[![Docker Mods](https://img.shields.io/badge/dynamic/yaml?style=for-the-badge&color=E68523&label=mods&query=%24.mods%5B%27docker-compose%27%5D.mod_count&url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml)](https://mods.linuxserver.io/?mod=docker-compose "view available mods for this container.")
@@ -128,6 +131,7 @@ full_custom_readme: |
128131
129132
## Versions
130133
134+
* **06.07.20:** - Publish docker-compose and docker-cli binaries in Github releases.
131135
* **01.07.20:** - Release alpine based images at `alpine` tag.
132136
* **04.06.20:** - Bump docker-cli to 19.03.8, auto-detect python3 version.
133137
* **19.05.20:** - Initial Release.

0 commit comments

Comments
 (0)