diff --git a/.gitignore b/.gitignore index 2bf9c98..1f0ba4e 100644 --- a/.gitignore +++ b/.gitignore @@ -144,6 +144,7 @@ htmlcov/ # Local persisted app secrets/config data/*.secure.json omniarr/data/*.secure.json +buildandpush.sh # Server-side compiled JS artifacts generated from TS sources server/**/*.js diff --git a/README.md b/README.md index 9d96e79..643967d 100644 --- a/README.md +++ b/README.md @@ -86,12 +86,16 @@ Compose to follow the newest published image. ## Build and publish -The included script builds a multi-architecture image and publishes both the -version tag and `latest` to Docker Hub: +To publish a multi-architecture image to Docker Hub: ```bash docker login -./build.sh 1.0 +docker buildx build \ + --platform linux/amd64,linux/arm64 \ + -t wonderalice/omniarr:1.0 \ + -t wonderalice/omniarr:latest \ + --push \ + . ``` To build locally without publishing: