We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 165dc08 commit 13fb949Copy full SHA for 13fb949
.github/workflows/cd_prod.yml
@@ -19,6 +19,18 @@ jobs:
19
- name: Set up Docker Buildx
20
uses: docker/setup-buildx-action@v2
21
22
+ # Set up Kubernetes CLI and configure access
23
+ - name: Set up kubectl
24
+ uses: azure/setup-kubectl@v1
25
+ with:
26
+ kubeconfig: ${{ secrets.KUBE_POSTGRES_CONFIG }}
27
+
28
+ # Proxy the database (use kubectl port-forward or other mechanisms)
29
+ - name: Proxy Database using Kubernetes
30
+ run: |
31
+ kubectl port-forward svc/postgres 5432:5432 -n postgres
32
+ sleep 5
33
34
- name: Build and push
35
uses: docker/build-push-action@v4
36
with:
0 commit comments