Skip to content

Commit b71e6eb

Browse files
committed
Switch to custom LogTo base image && Bump connector-kit version
1 parent ae30103 commit b71e6eb

File tree

4 files changed

+49
-23
lines changed

4 files changed

+49
-23
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ jobs:
3939
steps:
4040
- uses: actions/checkout@v4
4141

42+
- name: Install DigitalOcean CLI
43+
uses: digitalocean/action-doctl@v2
44+
with:
45+
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
46+
47+
- name: Login to DOCR
48+
run: doctl registry login --expiry-seconds 600
49+
4250
- name: Set up Docker Buildx
4351
uses: docker/setup-buildx-action@v3
4452
id: buildx

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN npm run build
2121
### STAGE 2: Build LogTo image with custom connector ###
2222
###############################################################
2323

24-
FROM svhd/logto:1.18.0 as runner
24+
FROM registry.digitalocean.com/cheqd/logto:cheqd-v1.18.0 as runner
2525

2626
# Set Node.js environment
2727
ENV NODE_ENV=production

package-lock.json

Lines changed: 39 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"test:coverage": "npm run test --coverage --silent"
3939
},
4040
"dependencies": {
41-
"@logto/connector-kit": "3.0.0",
41+
"@logto/connector-kit": "4.0.0",
4242
"@silverhand/essentials": "2.8.4",
4343
"got": "^14.2.1",
4444
"snakecase-keys": "^5.5.0",

0 commit comments

Comments
 (0)