This repository was archived by the owner on Oct 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +47
-47
lines changed Expand file tree Collapse file tree 5 files changed +47
-47
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,14 @@ jobs:
2121 build-extensions :
2222 uses : ./.github/workflows/build-extensions.yml
2323
24- get-dockerhub -extensions :
25- uses : ./.github/workflows/get-extensions-from-dockerhub .yml
24+ get-ghcr -extensions :
25+ uses : ./.github/workflows/get-extensions-from-ghcr .yml
2626
2727 package-built-extensions :
2828 runs-on : ubuntu-22.04
2929 needs :
3030 - build-extensions
31- - get-dockerhub -extensions
31+ - get-ghcr -extensions
3232 steps :
3333 - name : Free disk space on Ubuntu runner
3434 uses : kfir4444/free-disk-space@main
5858
5959 - uses : actions/download-artifact@v4
6060 with :
61- name : dockerhub -extensions
61+ name : ghcr -extensions
6262
6363 - name : Clear old artifacts
6464 run : rm -rf releases/$RELEASE_VERSION/
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Get Extensions from GHCR
2+ on :
3+ workflow_dispatch :
4+ workflow_call :
5+
6+ jobs :
7+ get-ghcr-extensions :
8+ runs-on : ubuntu-22.04
9+ steps :
10+ - name : Free disk space on Ubuntu runner
11+ uses : kfir4444/free-disk-space@main
12+ with :
13+ tool-cache : true
14+ android : true
15+ dotnet : true
16+ haskell : true
17+ large-packages : true
18+ swap-storage : true
19+
20+ - name : Pull ghcr extensions and run container
21+ run : |
22+ docker pull ghcr.io/kuzudb/extension-repo:latest
23+ docker run --rm -d --name kuzu-extensions ghcr.io/kuzudb/extension-repo:latest tail -f /dev/null
24+
25+ - name : Copy ghcr extensions
26+ run : |
27+ mkdir ./ghcr-extensions
28+ docker cp kuzu-extensions:/usr/share/nginx/html ./ghcr-extensions
29+ sudo chown -R $USER:$USER ghcr-extensions
30+ sudo chmod -R 755 ghcr-extensions
31+ mv ghcr-extensions/html/dataset ghcr-extensions/dataset
32+ mv ghcr-extensions/html/ ghcr-extensions/releases
33+
34+ - name : Upload ghcr extensions
35+ uses : actions/upload-artifact@v4
36+ with :
37+ name : ghcr-extensions
38+ path : ghcr-extensions
Original file line number Diff line number Diff line change 44 workflow_dispatch :
55
66jobs :
7- get-dockerhub -extensions :
8- uses : ./.github/workflows/get-extensions-from-dockerhub .yml
7+ get-ghcr -extensions :
8+ uses : ./.github/workflows/get-extensions-from-ghcr .yml
99
1010 purge-extensions :
11- needs : get-dockerhub -extensions
11+ needs : get-ghcr -extensions
1212 runs-on : ubuntu-22.04
1313 steps :
1414 - name : Free disk space on Ubuntu runner
3131
3232 - uses : actions/download-artifact@v4
3333 with :
34- name : dockerhub -extensions
34+ name : ghcr -extensions
3535
3636 - name : Purge extensions
3737 run : python3 purge-beta.py
Original file line number Diff line number Diff line change 11version : ' 3'
22services :
33 file-server :
4- image : kuzudb/extension-repo
4+ image : ghcr.io/ kuzudb/extension-repo
55 pull_policy : always
66 ports :
77 - " 8081:80"
You can’t perform that action at this time.
0 commit comments