From 00533ab38aa9f466d67ffc16a156ac1d2c4cba75 Mon Sep 17 00:00:00 2001 From: Ted Oestrem Date: Wed, 6 Nov 2024 11:41:30 +0000 Subject: [PATCH] Switch from Docker Hub to GitHub Container Registry --- README.md | 8 ++++++-- docker-compose.yml | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6553991..b871e42 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # RustyRustyGate LogoGate -[![Docker Build](https://github.com/3loc/rustygate/actions/workflows/docker-publish.yml/badge.svg)](https://github.com/3loc/rustygate/actions/workflows/docker-publish.yml) [![Docker Pulls](https://img.shields.io/docker/pulls/3loc/rustygate.svg)](https://hub.docker.com/r/3loc/rustygate) [![Docker Image Size](https://img.shields.io/docker/image-size/3loc/rustygate/latest)](https://hub.docker.com/r/3loc/rustygate) [![License](https://img.shields.io/github/license/3loc/rustygate.svg)](https://github.com/3loc/rustygate/blob/main/LICENSE) +[![Docker Build](https://github.com/3loc/rustygate/actions/workflows/docker-publish.yml/badge.svg)](https://github.com/3loc/rustygate/actions/workflows/docker-publish.yml) [![Docker Image Size](https://img.shields.io/github/docker/image-size/3loc/rustygate)](https://github.com/3loc/rustygate/pkgs/container/rustygate) [![License](https://img.shields.io/github/license/3loc/rustygate.svg)](https://github.com/3loc/rustygate/blob/main/LICENSE) **RustyGate** is a lightweight, high performance, asynchronous OpenAI API proxy server with rate limiting, written in Rust. @@ -146,7 +146,11 @@ This project is licensed under the MIT License. ### Using Docker (recommended) ```bash -docker pull 3loc/rustygate +# Pull from GitHub Container Registry +docker pull ghcr.io/3loc/rustygate:latest + +# Or specify a version +docker pull ghcr.io/3loc/rustygate:0.1.0 ``` ### Using Pre-built Binaries diff --git a/docker-compose.yml b/docker-compose.yml index 3afdfc9..2368ad9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ services: platforms: - "linux/amd64" - "linux/arm64" - image: 3loc/rustygate + image: ghcr.io/3loc/rustygate ports: - "${PORT:-8080}:8080" environment: @@ -34,7 +34,7 @@ services: platforms: - "linux/amd64" - "linux/arm64" - image: 3loc/rustygate-test + image: ghcr.io/3loc/rustygate-test environment: - RUSTYGATE_URL=http://rustygate:8080 - OPENAI_API_KEY=${OPENAI_API_KEY}