Skip to content

Commit 1d5b997

Browse files
committed
add FAQ for deploy command
1 parent f04bf3f commit 1d5b997

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

Gemfile.lock

+4
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ GEM
4242
faraday-net_http (3.3.0)
4343
net-http
4444
ffi (1.17.0-arm64-darwin)
45+
ffi (1.17.0-x86_64-linux-gnu)
4546
forwardable-extended (2.6.0)
4647
gemoji (4.1.0)
4748
github-pages (232)
@@ -232,6 +233,8 @@ GEM
232233
uri
233234
nokogiri (1.16.7-arm64-darwin)
234235
racc (~> 1.4)
236+
nokogiri (1.16.7-x86_64-linux)
237+
racc (~> 1.4)
235238
octokit (4.25.1)
236239
faraday (>= 1, < 3)
237240
sawyer (~> 0.9)
@@ -270,6 +273,7 @@ PLATFORMS
270273
arm64-darwin-22
271274
arm64-darwin-23
272275
arm64-darwin-24
276+
x86_64-linux
273277

274278
DEPENDENCIES
275279
github-pages

docs/commands/deploy.md

+22
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,25 @@ Options:
3737
-H, [--skip-hooks] # Don't run hooks
3838
# Default: false
3939
```
40+
41+
# FAQ
42+
43+
## Skip building an deploy some public docker image
44+
45+
See [this Github issue](https://github.com/basecamp/kamal/issues/497)
46+
47+
In order to use pre build images, you have to add a `service` label with the name of kamal service.
48+
49+
For example, a `deploy.yml` file starting with:
50+
51+
```yaml
52+
# Name of your application. Used to uniquely configure containers.
53+
service: name-of-service
54+
55+
# Name of the container image.
56+
image: some/image
57+
58+
...
59+
```
60+
61+
will require the label `label=service=name-of-service`.

0 commit comments

Comments
 (0)