diff --git a/.github/workflows/publish_binaries.yml b/.github/workflows/publish_binaries.yml new file mode 100644 index 0000000..722638d --- /dev/null +++ b/.github/workflows/publish_binaries.yml @@ -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/*" \ No newline at end of file diff --git a/README.md b/README.md index 46f74bf..ddb0588 100644 --- a/README.md +++ b/README.md @@ -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.") @@ -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. diff --git a/readme-vars.yml b/readme-vars.yml index 714bfec..d2eebd5 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -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.") @@ -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.