detached ef77fce

docs(getting-started): clarify deploy token risk and Buildx requirement

commit
ef77fcee7794edb2c86b99f4d6d38215abebd20b
author
bnema · · 2026-02-11 20:43 UTC
parent
ecc578c
signature
unsigned
1 file · +5 -2
M docs/getting-started.md +5 -2
@@ -124,7 +124,9 @@ Create a token for remote CLI deploys (skip if auth is disabled):
124124 gordon auth token generate --subject deploy --scopes push,pull --expiry 0
125125 ```
126126
127-Save this token securely - you'll use it with `gordon --remote` (or a saved remote).
127+`--expiry 0` creates a non-expiring token. Prefer a finite expiry and a rotation policy unless you explicitly need a long-lived deploy token.
128+
129+Save this token securely - you'll use it with `gordon --remote` (or a saved remote), and it should be limited to remote deploy use.
128130
129131 ## 8. Deploy Your First App
130132
@@ -144,7 +146,8 @@ What this command does:
144146 - `gordon push myapp` resolves the route for `myapp`, chooses a version tag,
145147 pushes image tags to Gordon's registry, and triggers deploy.
146148 - `--build` runs `docker buildx build` first, injecting `VERSION` from the tag
147- into the build and then pushing both version and `latest` tags.
149+ into the build and then pushing both version and `latest` tags. This requires
150+ Docker with Buildx; a Podman-only setup is not supported for `--build`.
148151 - `--no-confirm` skips the interactive "Deploy now?" prompt so the deploy runs
149152 immediately.
150153
@@ -124,7 +124,9 @@ Create a token for remote CLI deploys (skip if auth is disabled):
124 gordon auth token generate --subject deploy --scopes push,pull --expiry 0124 gordon auth token generate --subject deploy --scopes push,pull --expiry 0
125 ```125 ```
126 126
127-Save this token securely - you'll use it with `gordon --remote` (or a saved remote).127+`--expiry 0` creates a non-expiring token. Prefer a finite expiry and a rotation policy unless you explicitly need a long-lived deploy token.
128+
129+Save this token securely - you'll use it with `gordon --remote` (or a saved remote), and it should be limited to remote deploy use.
128 130
129 ## 8. Deploy Your First App131 ## 8. Deploy Your First App
130 132
@@ -144,7 +146,8 @@ What this command does:
144 - `gordon push myapp` resolves the route for `myapp`, chooses a version tag,146 - `gordon push myapp` resolves the route for `myapp`, chooses a version tag,
145 pushes image tags to Gordon's registry, and triggers deploy.147 pushes image tags to Gordon's registry, and triggers deploy.
146 - `--build` runs `docker buildx build` first, injecting `VERSION` from the tag148 - `--build` runs `docker buildx build` first, injecting `VERSION` from the tag
147- into the build and then pushing both version and `latest` tags.149+ into the build and then pushing both version and `latest` tags. This requires
150+ Docker with Buildx; a Podman-only setup is not supported for `--build`.
148 - `--no-confirm` skips the interactive "Deploy now?" prompt so the deploy runs151 - `--no-confirm` skips the interactive "Deploy now?" prompt so the deploy runs
149 immediately.152 immediately.
150 153

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 7

Tags 106

↑↓ moveenter openesc close