Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ea869e64b3 | ||
|
|
ca4784dd45 |
@@ -4,6 +4,8 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- 'v*'
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
@@ -44,3 +46,5 @@ jobs:
|
||||
push: true
|
||||
tags: |
|
||||
${{ vars.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||
${{ vars.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
|
||||
${{ vars.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
|
||||
|
||||
@@ -57,7 +57,7 @@ docker push <your-ecr-repo>:latest
|
||||
|
||||
### Deploy to EKS
|
||||
|
||||
Apply RBAC and deployment configurations:
|
||||
Modify and apply RBAC and deployment configurations:
|
||||
|
||||
```bash
|
||||
kubectl apply -f examples/k8s/rbac.yaml
|
||||
|
||||
@@ -17,7 +17,7 @@ spec:
|
||||
serviceAccountName: metalcheck-sa
|
||||
containers:
|
||||
- name: backend
|
||||
image: <your-ecr-repo>:latest
|
||||
image: ak-git.vectorsigma.ru/terghalin/metalcheck:latest
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: api-config
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
replicaCount: 2
|
||||
|
||||
image:
|
||||
repository: ghcr.io/terghalin/metalcheck-backend
|
||||
repository: ak-git.vectorsigma.ru/terghalin/metalcheck:latest
|
||||
tag: latest
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
|
||||
Reference in New Issue
Block a user