We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ad7191d + 6d77c20 commit d77a96dCopy full SHA for d77a96d
2 files changed
.github/workflows/deploy-staging.yml
@@ -47,6 +47,8 @@ jobs:
47
tags: |
48
ghcr.io/zainfathoni/kelas.rumahberbagi.com:staging-${{ github.sha }}
49
ghcr.io/zainfathoni/kelas.rumahberbagi.com:staging-latest
50
+ build-args: |
51
+ SERVICE_NAME=kelas-staging
52
cache-from: type=gha
53
cache-to: type=gha,mode=max
54
platforms: linux/amd64
Dockerfile
@@ -71,8 +71,9 @@ EXPOSE 3000
71
ENV NODE_ENV=production
72
ENV PORT=3000
73
74
-# Kamal requires service label
75
-LABEL service="kelas"
+# Kamal requires service label (configurable for staging)
+ARG SERVICE_NAME=kelas
76
+LABEL service="${SERVICE_NAME}"
77
78
# Start the application
79
# Using explicit path for CJS compatibility with Node 24
0 commit comments