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 ```