Skip to content

Commit

Permalink
fix: multi-release
Browse files Browse the repository at this point in the history
- add additional tags to docker images
- update image tag in k8 deployment
  • Loading branch information
cgawron committed Jun 19, 2024
1 parent d39cb94 commit 98cf08b
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 2 deletions.
39 changes: 39 additions & 0 deletions client/k8s/frontend-deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: client
namespace: bookme
spec:
containers:
- env:
- name: CLIENT_ID
valueFrom:
secretKeyRef:
key: CLIENT_ID
name: bookme-secret
- name: API_URL
valueFrom:
configMapKeyRef:
key: API_URL
name: bookme
- name: CLIENT_URL
valueFrom:
configMapKeyRef:
key: CLIENT_URL
name: bookme
- name: MONGO_URI
valueFrom:
configMapKeyRef:
key: MONGO_URI
name: bookme
- name: TZ
valueFrom:
configMapKeyRef:
key: TZ
name: bookme
image: ghcr.io/fhswf/book_me/frontend:latest
name: client
ports:
- containerPort: 80
resources: {}
restartPolicy: Always
4 changes: 2 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"@semantic-release/exec",
{
"execCwd": ".",
"generateNotesCmd": "yarn exec node ../utility/patch-k8s.js ../k8s/frontend-deployment.yaml"
"generateNotesCmd": "yarn exec node ../utility/patch-k8s.js k8s/frontend-deployment.yaml"
}
],
[
Expand All @@ -119,7 +119,7 @@
"assets": [
"package.json",
"CHANGELOG.md",
"../k8s/frontend-deployment.yaml"
"k8s/frontend-deployment.yaml"
]
}
],
Expand Down

0 comments on commit 98cf08b

Please sign in to comment.