Add binaries cross compile in CD (#113)

This commit is contained in:
Thomas Miceli
2023-09-26 15:13:58 +02:00
committed by GitHub
parent fa8e068e24
commit 30ca090e74
9 changed files with 134 additions and 7 deletions

View File

@ -50,7 +50,7 @@ version: "3"
services:
opengist:
image: ghcr.io/thomiceli/opengist:1.4
image: ghcr.io/thomiceli/opengist:1
container_name: opengist
restart: unless-stopped
ports:
@ -71,6 +71,20 @@ services:
GID: 1001
```
### Via binary
Download the archive for your system from the release page [here](https://github.com/thomiceli/opengist/releases/latest), and extract it.
```shell
# example for linux amd64
wget https://github.com/thomiceli/opengist/releases/download/v1.5.0/opengist1.5.0-linux-amd64.tar.gz
tar xzvf opengist1.5.0-linux-amd64.tar.gz
cd opengist
chmod +x opengist
./opengist # with or without `--config config.yml`
```
### From source
Requirements : [Git](https://git-scm.com/downloads) (2.20+), [Go](https://go.dev/doc/install) (1.20+), [Node.js](https://nodejs.org/en/download/) (16+)