docs: clarify push domain override examples (#174)
- commit
- 9ef69294fa05fc256e2b8bde7d893b30090ec27d
- author
- bnema · · 2026-04-12 15:04 UTC
- committer
- GitHub · · 2026-04-12 15:04 UTC
- parent
- 9287455
- signature
- GPG Unverified
B5690EEEBB952194The key is unknown - refs
- tag: v2.31.0-dev7
6 files · +6 -6
M README.md +1 -1
| @@ -33,7 +33,7 @@ Build locally, push directly to your Gordon server: | |||
| 33 | 33 | ||
| 34 | 34 | ```bash | |
| 35 | 35 | # Push using an explicit domain override | |
| 36 | - | gordon push --domain app.example.com | |
| 36 | + | gordon push myapp:latest --domain app.example.com | |
| 37 | 37 | ||
| 38 | 38 | # Or add a route manually, then deploy | |
| 39 | 39 | gordon routes add app.example.com myapp:latest | |
| @@ -33,7 +33,7 @@ Build locally, push directly to your Gordon server: | |||||
| 33 | 33 | ||||
| 34 | ```bash | 34 | ```bash | ||
| 35 | # Push using an explicit domain override | 35 | # Push using an explicit domain override | ||
| 36 | - | gordon push --domain app.example.com | 36 | + | gordon push myapp:latest --domain app.example.com |
| 37 | 37 | ||||
| 38 | # Or add a route manually, then deploy | 38 | # Or add a route manually, then deploy | ||
| 39 | gordon routes add app.example.com myapp:latest | 39 | gordon routes add app.example.com myapp:latest | ||
M docs/cli/attachments.md +1 -1
| @@ -255,7 +255,7 @@ gordon bootstrap app.example.com myapp:latest --attachment pitlane-pgsql | |||
| 255 | 255 | gordon attachments push pitlane-pgsql --build | |
| 256 | 256 | ||
| 257 | 257 | # Then push and deploy the route image | |
| 258 | - | gordon push --domain app.example.com --build --no-confirm | |
| 258 | + | gordon push myapp:latest --domain app.example.com --build --no-confirm | |
| 259 | 259 | ``` | |
| 260 | 260 | ||
| 261 | 261 | ### CI/CD Integration | |
| @@ -255,7 +255,7 @@ gordon bootstrap app.example.com myapp:latest --attachment pitlane-pgsql | |||||
| 255 | gordon attachments push pitlane-pgsql --build | 255 | gordon attachments push pitlane-pgsql --build | ||
| 256 | 256 | ||||
| 257 | # Then push and deploy the route image | 257 | # Then push and deploy the route image | ||
| 258 | - | gordon push --domain app.example.com --build --no-confirm | 258 | + | gordon push myapp:latest --domain app.example.com --build --no-confirm |
| 259 | ``` | 259 | ``` | ||
| 260 | 260 | ||||
| 261 | ### CI/CD Integration | 261 | ### CI/CD Integration | ||
M docs/cli/bootstrap.md +1 -1
| @@ -44,7 +44,7 @@ Unlike `gordon push`, `gordon bootstrap` does not require the route to exist fir | |||
| 44 | 44 | gordon bootstrap app.example.com myapp:latest | |
| 45 | 45 | ||
| 46 | 46 | # Then push and deploy the image | |
| 47 | - | gordon push --domain app.example.com --build --no-confirm | |
| 47 | + | gordon push myapp:latest --domain app.example.com --build --no-confirm | |
| 48 | 48 | ||
| 49 | 49 | # First-time route setup with a database attachment and environment variable | |
| 50 | 50 | gordon bootstrap app.example.com myapp:latest --attachment postgres:18 --env APP_ENV=production | |
| @@ -44,7 +44,7 @@ Unlike `gordon push`, `gordon bootstrap` does not require the route to exist fir | |||||
| 44 | gordon bootstrap app.example.com myapp:latest | 44 | gordon bootstrap app.example.com myapp:latest | ||
| 45 | 45 | ||||
| 46 | # Then push and deploy the image | 46 | # Then push and deploy the image | ||
| 47 | - | gordon push --domain app.example.com --build --no-confirm | 47 | + | gordon push myapp:latest --domain app.example.com --build --no-confirm |
| 48 | 48 | ||||
| 49 | # First-time route setup with a database attachment and environment variable | 49 | # First-time route setup with a database attachment and environment variable | ||
| 50 | gordon bootstrap app.example.com myapp:latest --attachment postgres:18 --env APP_ENV=production | 50 | gordon bootstrap app.example.com myapp:latest --attachment postgres:18 --env APP_ENV=production | ||
M docs/cli/index.md +1 -1
| @@ -72,7 +72,7 @@ gordon restart myapp.example.com | |||
| 72 | 72 | gordon bootstrap app.example.com myapp:latest --attachment postgres:18 --env APP_ENV=production | |
| 73 | 73 | ||
| 74 | 74 | # Then push and deploy | |
| 75 | - | gordon push --domain app.example.com --build --no-confirm | |
| 75 | + | gordon push myapp:latest --domain app.example.com --build --no-confirm | |
| 76 | 76 | ||
| 77 | 77 | # Push an image and deploy | |
| 78 | 78 | gordon push myapp --build | |
| @@ -72,7 +72,7 @@ gordon restart myapp.example.com | |||||
| 72 | gordon bootstrap app.example.com myapp:latest --attachment postgres:18 --env APP_ENV=production | 72 | gordon bootstrap app.example.com myapp:latest --attachment postgres:18 --env APP_ENV=production | ||
| 73 | 73 | ||||
| 74 | # Then push and deploy | 74 | # Then push and deploy | ||
| 75 | - | gordon push --domain app.example.com --build --no-confirm | 75 | + | gordon push myapp:latest --domain app.example.com --build --no-confirm |
| 76 | 76 | ||||
| 77 | # Push an image and deploy | 77 | # Push an image and deploy | ||
| 78 | gordon push myapp --build | 78 | gordon push myapp --build | ||
M docs/cli/push.md +1 -1
| @@ -100,7 +100,7 @@ gordon push --build --remote https://gordon.example.com --no-confirm | |||
| 100 | 100 | gordon push myapp --remote https://gordon.example.com --no-confirm | |
| 101 | 101 | ||
| 102 | 102 | # Push and deploy to an explicit domain | |
| 103 | - | gordon push --domain app.example.com --remote https://gordon.example.com --no-confirm | |
| 103 | + | gordon push myapp:latest --domain app.example.com --remote https://gordon.example.com --no-confirm | |
| 104 | 104 | ||
| 105 | 105 | # Tagged refs still resolve routes by image name | |
| 106 | 106 | gordon push myapp:v1.2.3 --tag v1.2.3 --no-deploy | |
| @@ -100,7 +100,7 @@ gordon push --build --remote https://gordon.example.com --no-confirm | |||||
| 100 | gordon push myapp --remote https://gordon.example.com --no-confirm | 100 | gordon push myapp --remote https://gordon.example.com --no-confirm | ||
| 101 | 101 | ||||
| 102 | # Push and deploy to an explicit domain | 102 | # Push and deploy to an explicit domain | ||
| 103 | - | gordon push --domain app.example.com --remote https://gordon.example.com --no-confirm | 103 | + | gordon push myapp:latest --domain app.example.com --remote https://gordon.example.com --no-confirm |
| 104 | 104 | ||||
| 105 | # Tagged refs still resolve routes by image name | 105 | # Tagged refs still resolve routes by image name | ||
| 106 | gordon push myapp:v1.2.3 --tag v1.2.3 --no-deploy | 106 | gordon push myapp:v1.2.3 --tag v1.2.3 --no-deploy | ||
M docs/getting-started.md +1 -1
| @@ -147,7 +147,7 @@ gordon remotes use prod | |||
| 147 | 147 | gordon bootstrap app.example.com myapp:latest --attachment postgres:18 --env APP_ENV=production | |
| 148 | 148 | ||
| 149 | 149 | # Then build, push, and deploy | |
| 150 | - | gordon push --domain app.example.com --build --no-confirm | |
| 150 | + | gordon push myapp:latest --domain app.example.com --build --no-confirm | |
| 151 | 151 | ``` | |
| 152 | 152 | ||
| 153 | 153 | What this command does: | |
| @@ -147,7 +147,7 @@ gordon remotes use prod | |||||
| 147 | gordon bootstrap app.example.com myapp:latest --attachment postgres:18 --env APP_ENV=production | 147 | gordon bootstrap app.example.com myapp:latest --attachment postgres:18 --env APP_ENV=production | ||
| 148 | 148 | ||||
| 149 | # Then build, push, and deploy | 149 | # Then build, push, and deploy | ||
| 150 | - | gordon push --domain app.example.com --build --no-confirm | 150 | + | gordon push myapp:latest --domain app.example.com --build --no-confirm |
| 151 | ``` | 151 | ``` | ||
| 152 | 152 | ||||
| 153 | What this command does: | 153 | What this command does: | ||