Skip to content

Commit 5e5ba59

Browse files
committed
Add GHCR token
1 parent d00a7b5 commit 5e5ba59

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,6 @@ jobs:
9191
- name: Deploy via Kamal
9292
run: kamal deploy --skip-push
9393
env:
94+
GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }}
9495
KAMAL_REGISTRY_USERNAME: ${{ secrets.KAMAL_REGISTRY_USERNAME }}
9596
KAMAL_REGISTRY_PASSWORD: ${{ secrets.KAMAL_REGISTRY_PASSWORD }}

config/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ proxy:
2626
registry:
2727
server: ghcr.io/ugifractal/carhist
2828
username: <%= ENV.fetch("KAMAL_REGISTRY_USERNAME") %>
29-
password: <%= ENV.fetch("KAMAL_REGISTRY_PASSWORD") %>
29+
password: <%= ENV.fetch("GHCR_TOKEN") %>
3030

3131
# Inject ENV variables into containers (secrets come from .kamal/secrets).
3232
env:
@@ -48,6 +48,8 @@ env:
4848
- MIDTRANS_SERVER_KEY
4949
- MIDTRANS_BASE_URL
5050
- GEMINI_API_KEY
51+
- GHCR_TOKEN
52+
- TAILSCALE_AUTHKEY
5153

5254
clear:
5355
# Run the Solid Queue Supervisor inside the web server's Puma process to do jobs.

0 commit comments

Comments
 (0)