You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/swift-container-plugin/Documentation.docc/run.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,4 +18,20 @@ When the service has started, we can access it with a web browser or `curl`:
18
18
```
19
19
% curl localhost:8080
20
20
Hello World, from Hummingbird on Ubuntu 24.04.2 LTS
21
-
```
21
+
```
22
+
23
+
### Build and run in one step
24
+
25
+
Swift Container Plugin prints a reference to the newly built image on standard output.
26
+
The image reference can then be piped to the deployment command, or passed as an argument using shell output substitution.
27
+
28
+
This allows a container image to be built and deployed in one shell command, using a convenient pattern offered by tools such as [ko.build](https://ko.build):
0 commit comments