mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-18 00:15:30 +01:00
🐳 feat: Push Container Images to DockerHub (#1762)
This commit is contained in:
parent
39caeb2027
commit
92a41fbf47
3 changed files with 90 additions and 11 deletions
9
.github/workflows/container.yml
vendored
9
.github/workflows/container.yml
vendored
|
|
@ -23,6 +23,13 @@ jobs:
|
|||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
# Login to Docker Hub
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
# Log in to GitHub Container Registry
|
||||
- name: Log in to GitHub Container Registry
|
||||
uses: docker/login-action@v2
|
||||
|
|
@ -43,6 +50,7 @@ jobs:
|
|||
with:
|
||||
images: |
|
||||
ghcr.io/${{ github.repository_owner }}/librechat-api
|
||||
docker.io/${{ secrets.DOCKERHUB_USERNAME }}/librechat-api
|
||||
tags: |
|
||||
type=raw,value=latest
|
||||
type=semver,pattern={{version}}
|
||||
|
|
@ -66,6 +74,7 @@ jobs:
|
|||
with:
|
||||
images: |
|
||||
ghcr.io/${{ github.repository_owner }}/librechat
|
||||
docker.io/${{ secrets.DOCKERHUB_USERNAME }}/librechat
|
||||
tags: |
|
||||
type=raw,value=latest
|
||||
type=semver,pattern={{version}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue