update readme
Some checks failed
Build the portfolio website / build-portfolio-website (push) Successful in 53s
Build the portfolio website / build-and-release-image (push) Failing after 22s

This commit is contained in:
2025-05-17 22:19:34 +03:00
parent 9dd04356fc
commit 4f2f98988f
2 changed files with 7 additions and 3 deletions

View File

@ -31,4 +31,8 @@ docker push $DOCKER_REGISTRY/my-portfolio-app:latest
# Check the registry # Check the registry
curl -u user:pass https://$DOCKER_REGISTRY/v2/_catalog curl -u user:pass https://$DOCKER_REGISTRY/v2/_catalog
``` ```
# CI/CD
Run in Gitea Actions within kubernetes cluster
Follow: https://tobru.ch/gitea-actions-container-builds/

View File

@ -38,8 +38,8 @@ function create_role() {
local namespace="$2" local namespace="$2"
kubectl create role "$user" \ kubectl create role "$user" \
--verb=get,list,watch,create,update,delete,patch \ --verb=get,list,watch,create,update,delete,patch,exec \
--resource=pods,services,deployments,secrets,configmaps \ --resource=pods,pods/exec,services,deployments,secrets,configmaps \
--namespace "$namespace" \ --namespace "$namespace" \
--dry-run=client -o yaml | kubectl apply -f - --dry-run=client -o yaml | kubectl apply -f -