From 14dd1b1d1926d2a8f152acaeb2b5942b04fae68a Mon Sep 17 00:00:00 2001 From: Taqi Tahmid Date: Tue, 11 Feb 2025 21:48:18 +0200 Subject: [PATCH] updated README --- .gitignore | 1 + README.md | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env diff --git a/README.md b/README.md index e949897..8748aa6 100644 --- a/README.md +++ b/README.md @@ -4,11 +4,13 @@ My Portfolio Website # Deploy This website is packaged as a container and deployed using nginx. -``` + +```bash +source .env docker build -t my-portfolio-app . -docker tag my-portfolio-app:latest registry.tahmidcloud.com/my-portfolio-app:latest -docker push registry.tahmidcloud.com/my-portfolio-app:latest +docker tag my-portfolio-app:latest ${DOCKER_REGISTRY}/my-portfolio-app:latest +docker push ${DOCKER_REGISTRY}/my-portfolio-app:latest # Check the registry -curl -u user:pass https://registry.tahmidcloud.com/v2/_catalog +curl -u user:pass https://${DOCKER_REGISTRY}/v2/_catalog ```