chore: Update Docker build and push actions (#1790)

This commit is contained in:
Danny Avila 2024-02-13 10:59:46 -05:00 committed by GitHub
parent 6ccf4d6ed2
commit 050eeb1211
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 20 additions and 32 deletions

View file

@ -23,13 +23,6 @@ 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
@ -50,7 +43,6 @@ 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}}
@ -74,7 +66,6 @@ jobs:
with:
images: |
ghcr.io/${{ github.repository_owner }}/librechat
docker.io/${{ secrets.DOCKERHUB_USERNAME }}/librechat
tags: |
type=raw,value=latest
type=semver,pattern={{version}}
@ -89,4 +80,4 @@ jobs:
push: true
tags: ${{ steps.meta-librechat.outputs.tags }}
platforms: linux/amd64,linux/arm64
target: node
target: node