fix
This commit is contained in:
@@ -66,10 +66,10 @@ jobs:
|
|||||||
- name: Update image tag u manifestu
|
- name: Update image tag u manifestu
|
||||||
run: |
|
run: |
|
||||||
TAG=$(cat tag.txt)
|
TAG=$(cat tag.txt)
|
||||||
sed -i "s|image:.*|image: $IMAGE:$TAG|" k8s/deployment.yaml
|
sed -i "s|image:.*|image: $IMAGE:$TAG|" k8s/moj-servis/deployment.yaml
|
||||||
|
|
||||||
- name: Deploy na k3s
|
- name: Deploy na k3s
|
||||||
run: |
|
run: |
|
||||||
kubectl apply -f k8s/ -n student-marijanela218
|
kubectl apply -f k8s/moj-servis/ -n student-marijanela218
|
||||||
kubectl rollout status deployment/helloo-cicdd \
|
kubectl rollout status deployment/helloo-cicdd \
|
||||||
-n student-marijanela218 --timeout=120s
|
-n student-marijanela218 --timeout=120s
|
||||||
Reference in New Issue
Block a user