Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:
tags: |
ghcr.io/zainfathoni/kelas.rumahberbagi.com:staging-${{ github.sha }}
ghcr.io/zainfathoni/kelas.rumahberbagi.com:staging-latest
build-args: |
SERVICE_NAME=kelas-staging
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ EXPOSE 3000
ENV NODE_ENV=production
ENV PORT=3000

# Kamal requires service label
LABEL service="kelas"
# Kamal requires service label (configurable for staging)
ARG SERVICE_NAME=kelas
LABEL service="${SERVICE_NAME}"

# Start the application
# Using explicit path for CJS compatibility with Node 24
Expand Down
Loading