feat(trade-dashboard): add GitHub Actions CI/CD pipeline
- Build and push Docker image to ghcr.io on push to master - Update deployment to pull from ghcr.io instead of GCR - Tags: commit SHA + latest on default branch
This commit is contained in:
parent
d94e62d77c
commit
6599249d65
2 changed files with 53 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ spec:
|
|||
terminationGracePeriodSeconds: 30
|
||||
containers:
|
||||
- name: dashboard
|
||||
image: us-central1-docker.pkg.dev/devops-lab-cluster/customer1/trade-dashboard:latest
|
||||
image: ghcr.io/sirius0xdev/trade-dashboard:latest
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
|
|
|
|||
Loading…
Reference in a new issue