Add CI/CD pipeline documentation
هذا الالتزام موجود في:
56
docs/ghaymah-cli.md
Normal file
56
docs/ghaymah-cli.md
Normal file
@@ -0,0 +1,56 @@
|
||||
# Ghaymah CLI Integration
|
||||
|
||||
## Install the CLI
|
||||
|
||||
```bash
|
||||
curl -fsSL https://ghaymah.systems/install.sh | bash
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Login
|
||||
|
||||
```bash
|
||||
ghaymah login
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Verify Login
|
||||
|
||||
```bash
|
||||
ghaymah whoami
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Build Docker Image
|
||||
|
||||
```bash
|
||||
docker build -t ghaymah-sre-api .
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Push Image
|
||||
|
||||
```bash
|
||||
docker push registry.ghaymah.systems/<username>/ghaymah-sre-api:latest
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Deploy
|
||||
|
||||
```bash
|
||||
ghaymah deploy \
|
||||
--image registry.ghaymah.systems/<username>/ghaymah-sre-api:latest
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Check Deployment
|
||||
|
||||
```bash
|
||||
ghaymah apps list
|
||||
```
|
||||
المرجع في مشكلة جديدة
حظر مستخدم