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

Commit

Permalink
Merge pull request #7 from linuxserver/binaries
Browse files Browse the repository at this point in the history
publish binaries to github releases
  • Loading branch information
aptalca authored Jul 6, 2020
2 parents baaee18 + 5491a84 commit 432a7f4
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/publish_binaries.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish Binaries

on:
release:
types:
- published

jobs:
publish-binaries:
runs-on: ubuntu-latest
steps:
- name: Retrieve artifacts
run: |
mkdir -p ./artifacts
docker create --name amd64 linuxserver/docker-compose:amd64-${{ github.event.release.tag_name }}
docker cp amd64:/usr/local/bin/docker-compose ./artifacts/docker-compose-amd64
docker cp amd64:/usr/local/bin/docker ./artifacts/docker-cli-amd64
docker create --name armhf linuxserver/docker-compose:arm32v7-${{ github.event.release.tag_name }}
docker cp armhf:/usr/local/bin/docker-compose ./artifacts/docker-compose-armhf
docker cp armhf:/usr/local/bin/docker ./artifacts/docker-cli-armhf
docker create --name arm64 linuxserver/docker-compose:arm64v8-${{ github.event.release.tag_name }}
docker cp arm64:/usr/local/bin/docker-compose ./artifacts/docker-compose-arm64
docker cp arm64:/usr/local/bin/docker ./artifacts/docker-cli-arm64
- name: Copy build-artifacts
uses: skx/github-action-publish-binaries@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: "./artifacts/*"
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ sudo chmod +x /usr/local/bin/docker-compose
```
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.

### Binaries

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/`.

## Docker Mods
[![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.")
Expand Down Expand Up @@ -122,6 +125,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64

## Versions

* **06.07.20:** - Publish docker-compose and docker-cli binaries in Github releases.
* **01.07.20:** - Release alpine based images at `alpine` tag.
* **04.06.20:** - Bump docker-cli to 19.03.8, auto-detect python3 version.
* **19.05.20:** - Initial Release.
4 changes: 4 additions & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ full_custom_readme: |
```
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.
### Binaries
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/`.
## Docker Mods
[![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.")
Expand Down Expand Up @@ -128,6 +131,7 @@ full_custom_readme: |
## Versions
* **06.07.20:** - Publish docker-compose and docker-cli binaries in Github releases.
* **01.07.20:** - Release alpine based images at `alpine` tag.
* **04.06.20:** - Bump docker-cli to 19.03.8, auto-detect python3 version.
* **19.05.20:** - Initial Release.
Expand Down

0 comments on commit 432a7f4

Please sign in to comment.