diff --git a/.github/workflows/container-release.yml b/.github/workflows/container-release.yml
new file mode 100644
index 0000000..6e1fc90
--- /dev/null
+++ b/.github/workflows/container-release.yml
@@ -0,0 +1,56 @@
+name: Docker Image CI
+
+on:
+ push:
+ tags:
+ - 'v*' # This will trigger the workflow on tags that start with 'v'
+
+env:
+ REGISTRY: ghcr.io
+ USER: ${{ github.repository_owner }}
+ IMAGE_NAME: ${{ github.repository }}
+
+permissions:
+ contents: read
+ packages: write
+
+jobs:
+ build-push:
+ runs-on: ubuntu-latest
+
+ steps:
+
+ - name: Check Out Repo
+ uses: actions/checkout@v4
+
+ - name: Set up QEMU
+ uses: docker/setup-qemu-action@v3
+ with:
+ # arm64 specific
+ platforms: arm64
+
+ - name: Set up Docker Buildx
+ uses: docker/setup-buildx-action@v3
+
+ - name: Login to registry
+ uses: docker/login-action@v3
+ with:
+ registry: ${{ env.REGISTRY }}
+ username: ${{ env.USER }}
+ password: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Extract metadata (tags, labels) for Docker
+ id: meta
+ uses: docker/metadata-action@v5
+ with:
+ images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
+
+ - name: Build and push Docker image
+ uses: docker/build-push-action@v6
+ with:
+ context: .
+ push: true
+ file: ./Dockerfile
+ platforms: linux/amd64,linux/arm64
+ tags: ${{ steps.meta.outputs.tags }}
+ labels: ${{ steps.meta.outputs.labels }}
diff --git a/README.md b/README.md
index 714ff9f..90e5c39 100644
--- a/README.md
+++ b/README.md
@@ -56,6 +56,7 @@ Inspired by projects like [teddit](https://codeberg.org/teddit/teddit), [nitter]
| | No | No | US | No | Operated by [hyperreal64](https://github.com/hyperreal64) |
| | [Yes](http://q3hetdcyyy572xznqmsledzlbv77moycoqs6ptehpp5vsmx4dtcuqeqd.onion/) | [Yes](http://5j37qusybvyhecljn4hr5i4chifdlfqfkfveythzpzyfxiibt7cq.b32.i2p/) | CA | No | Operated by [Troughy](https://zorby.top/) |
| | No | No | UA | No | Operated by [Weidenwiesel](https://nerdvpn.de/) |
+| | No | No | US | No | Operated by [canine.tools](https://canine.tools/) |
Instances list in JSON format can be found in [instances.json](instances.json) file.
@@ -163,6 +164,23 @@ Change the docker-compose file to your liking and run `docker-compose up -d` to
### Docker (Built)
+Use the pre-built images from github packages using `docker pull ghcr.io/zyachel/libremdb:latest` to pull latest images.
+
+To run the container with pulled image use the following command.
+> Note: Env file is required for running this image. Download and edit this [env file](https://github.com/zyachel/libremdb/blob/main/.env.local.example).
+
+
+```sh
+docker/podman run \
+ --detach \
+ --name "libremdb" \
+ -p 3000:3000 \
+ --env-file "path_to_env_file" \
+ ghcr.io/zyachel/libremdb:latest
+```
+
+OR
+
There's a [docker image](https://github.com/PussTheCat-org/docker-libremdb-quay) made by [@TheFrenchGhosty](https://github.com/TheFrenchGhosty) for [PussTheCat.org's instance](https://libremdb.pussthecat.org). You can use that as well.
## Miscellaneous
diff --git a/instances.json b/instances.json
index fc74fc8..07d6a67 100644
--- a/instances.json
+++ b/instances.json
@@ -115,5 +115,10 @@
"clearnet": "https://imdb.nerdvpn.de/",
"cdn": false,
"country": "UA"
+ },
+ {
+ "clearnet": "https://libremdb.canine.tools/",
+ "cdn": false,
+ "country": "US"
}
]
\ No newline at end of file