Add build instrucions
Some checks failed
testing / backend-checks (push) Has been cancelled
testing / frontend-checks (push) Has been cancelled
testing / test-unit (push) Has been cancelled
testing / test-e2e (push) Has been cancelled
testing / test-remote-cacher (redis) (push) Has been cancelled
testing / test-remote-cacher (valkey) (push) Has been cancelled
testing / test-remote-cacher (garnet) (push) Has been cancelled
testing / test-remote-cacher (redict) (push) Has been cancelled
testing / test-mysql (push) Has been cancelled
testing / test-pgsql (push) Has been cancelled
testing / test-sqlite (push) Has been cancelled
testing / security-check (push) Has been cancelled
/ release (push) Has been cancelled
Pubish release / publish (push) Has been cancelled

This commit is contained in:
Minecon724 2025-05-03 09:24:15 +03:00
commit 622d78e95d
No known key found for this signature in database
GPG key ID: C2AD3DEEFBA97E0E

View file

@ -30,7 +30,23 @@ Don't be overwhelmed, as commits are very granular.
### Builds
Docker builds [are available here](https://hub.docker.com/r/minecon724/forgejo724) for amd64 and arm64.
Docker builds [are available here](https://hub.docker.com/r/minecon724/forgejo724) for arm64.
To build, [follow the official instructions](https://forgejo.org/docs/next/contributor/from-source/)
To build for multiple architectures:
1. Setup: (only do this once)
```bash
docker buildx create --name mybuilder --use
docker buildx inspect --bootstrap
```
2. Build:
```bash
docker buildx build --platform linux/amd64,linux/arm64 -t user/repo:tag --push .
```
You can add more architectures, if you wish.
You may get rate-limited (429) by code.forgejo.org. Try building for one architecture at a time.
### Changelog