Skip to content

Commit 24d3e18

Browse files
authored
👷 build: add GHCR as fallback registry
1 parent 918f120 commit 24d3e18

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Current Version: 1.0.8
1+
# Current Version: 1.0.9
22

33
name: Build & Push chat-plugin-searxng-search
44

@@ -22,7 +22,13 @@ jobs:
2222
with:
2323
username: ${{ secrets.DOCKERHUB_USERNAME }}
2424
password: ${{ secrets.DOCKERHUB_TOKEN }}
25-
- name: Step 5 - Build lobechat:searxng
25+
- name: Step 5 - Login to GHCR
26+
uses: docker/login-action@v3
27+
with:
28+
registry: ghcr.io
29+
username: ${{ secrets.GHCR_USERNAME }}
30+
password: ${{ secrets.GHCR_TOKEN }}
31+
- name: Step 6 - Build lobechat:searxng
2632
uses: docker/build-push-action@v5
2733
with:
2834
build-args: |
@@ -32,3 +38,4 @@ jobs:
3238
push: true
3339
tags: |
3440
hezhijie0327/lobechat:searxng
41+
ghcr.io/hezhijie0327/lobechat:searxng

0 commit comments

Comments
 (0)