npm install
npm run build:dev
# for prd
# npm run build:prd
docker build -t "hello-reactjs:local" -f ./cicd/docker/Dockerfile .
docker run --rm --name=hello-reactjs -p 8010:80 "hello-reactjs:local"
- deploy
# helm upgrade -i hello-reactjs ./cicd/helm-service --set 'image.tag=2310.1' --dry-run --debug
helm upgrade -i hello-reactjs ./cicd/helm-service --set 'image.tag=2310.1'
- delete
helm uninstall hello-reactjs --namespace default
# pull from hub
docker pull symplesims/hello-reactjs:1.0
# run on local
docker run --rm --name=hello-reactjs -p 8010:80 "symplesims/hello-reactjs:1.0"
docker buildx build --build-arg "VERSION=2310.3" --build-arg "PROFILE=production" \
--platform linux/amd64,linux/arm64/v8 --tag "hello-reactjs:local" \
--file ./cicd/docker/Dockerfile .
helm plugin install https://github.com/jkroepke/helm-secrets --version v4.5.1
helm secrets upgrade -i hello-reactjs --namespace default --set 'image.tag=2310.1' -f ./cicd/charts/values.yaml ./cicd/charts
helm uninstall hello-reactjs --namespace default