diff --git a/README.md b/README.md index 1d00e49..2d60e13 100644 --- a/README.md +++ b/README.md @@ -4,18 +4,23 @@ Gitea Action Runner with buildx How to use: 1. Enable binfmt/QEMU local - -> docker run --rm --privileged tonistiigi/binfmt --install all +```shell +docker run --rm --privileged tonistiigi/binfmt --install all +``` 2. Check - -> ls /proc/sys/fs/binfmt_misc +```shell +ls /proc/sys/fs/binfmt_misc +``` 3. Start Runner via docker run or docker compose 4. In your workflow add this to setup the multiarch-builder - +```yaml - name: Setup buildx multiarch run: | docker buildx create \ --name multiarch \ --driver docker-container \ --use || docker buildx use multiarch +``` \ No newline at end of file