Build & Push chat-plugin-searxng-search #84
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Current Version: 1.0.9 | |
name: Build & Push chat-plugin-searxng-search | |
on: | |
workflow_dispatch: | |
jobs: | |
build-lobechat-searxng: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Step 1 - Checkout | |
uses: actions/checkout@v4 | |
- name: Step 2 - Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
with: | |
image: tonistiigi/binfmt:master | |
- name: Step 3 - Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Step 4 - Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Step 5 - Login to GHCR | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ secrets.GHCR_USERNAME }} | |
password: ${{ secrets.GHCR_TOKEN }} | |
- name: Step 6 - Build lobechat:searxng | |
uses: docker/build-push-action@v5 | |
with: | |
build-args: | | |
NODEJS_VERSION=22 | |
file: ./Dockerfile | |
platforms: linux/amd64, linux/arm64 | |
push: true | |
tags: | | |
hezhijie0327/lobechat:searxng | |
ghcr.io/hezhijie0327/lobechat:searxng |