Skip to content

Commit 35e0abb

Browse files
Merge pull request #118 from depot/docs-sync-updates
Update content from depot/app
2 parents 1b51653 + a09e499 commit 35e0abb

File tree

3 files changed

+22
-8
lines changed

3 files changed

+22
-8
lines changed

Diff for: content/cli/reference.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ This command accepts all the command line flags as Docker's `docker buildx bake`
165165
| `pull` | Always attempt to pull all referenced images |
166166
| `push` | Shorthand for "--set=\*.output=type=registry" |
167167
| `save` | Saves the build to the Depot Registry
168+
| `save-tag` | Saves the tag prepended to each target to the Depot Registry |
168169
| `sbom` | Shorthand for "--set=\*.attest=type=sbom" |
169170
| `sbom-dir` | Directory to store SBOM attestations |
170171
| `set` | Override target value (e.g., "targetpattern.key=value") |
@@ -237,6 +238,7 @@ This command accepts all the command line flags as Docker's `docker buildx build
237238
| `push` | Shorthand for "--output=type=registry" |
238239
| `quiet` | Suppress the build output and print image ID on success |
239240
| `save` | Saves the build to the Depot Registry |
241+
| `save-tag` | Saves the tag provided to the Depot Registry |
240242
| `sbom` | Shorthand for "--attest=type=sbom" |
241243
| `sbom-dir` | Directory to store SBOM attestations |
242244
| `secret` | Secret to expose to the build (format: "id=mysecret[,src=/local/secret]") |

Diff for: content/github-actions/runner-types.mdx

+9-7
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,15 @@ The following labels are available:
9898

9999
| Label | CPUs | Memory | Disk size | Per-minute price | Minutes multiplier |
100100
| :------------------------- | :--- | :----- | :-------- | :--------------- | :----------------- |
101-
| `depot-windows-2022-small` | 2 | 2 GB | 100 GB | $0.004 | 0.5x |
102-
| `depot-windows-2022` | 2 | 8 GB | 100 GB | $0.008 | 1x |
103-
| `depot-windows-2022-4` | 4 | 16 GB | 150 GB | $0.016 | 2x |
104-
| `depot-windows-2022-8` | 8 | 32 GB | 300 GB | $0.032 | 4x |
105-
| `depot-windows-2022-16` | 16 | 64 GB | 600 GB | $0.064 | 8x |
106-
| `depot-windows-2022-32` | 32 | 128 GB | 1200 GB | $0.128 | 16x |
107-
| `depot-windows-2022-64` | 64 | 256 GB | 2400 GB | $0.256 | 32x |
101+
| `depot-windows-2022-small` | 2 | 2 GB | 100 GB | $0.004 | 1x |
102+
| `depot-windows-2022` | 2 | 8 GB | 100 GB | $0.008 | 2x |
103+
| `depot-windows-2022-4` | 4 | 16 GB | 150 GB | $0.016 | 4x |
104+
| `depot-windows-2022-8` | 8 | 32 GB | 300 GB | $0.032 | 8x |
105+
| `depot-windows-2022-16` | 16 | 64 GB | 600 GB | $0.064 | 16x |
106+
| `depot-windows-2022-32` | 32 | 128 GB | 1200 GB | $0.128 | 32x |
107+
| `depot-windows-2022-64` | 64 | 256 GB | 2400 GB | $0.256 | 64x |
108+
109+
**Note**: Windows runners don't come equipped with Hyper-v because of an AWS limitation on EC2. Therefore, if you use things that require it like `docker`, than Depot Windows Runners are unlikely to work for you.
108110

109111
## Billing
110112

Diff for: content/registry/quickstart.mdx

+11-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: Save builds in the Depot Registry, then pull them down to your loca
99
To save a Depot build in the Depot Registry, use the `--save` flag when running `depot build`:
1010

1111
```bash
12-
depot build --save --metadata-file=build.json ...
12+
depot build --save --save-tag=latest --metadata-file=build.json ...
1313
```
1414

1515
The `--metadata-file` flag is optional, but it's useful for capturing the metadata about the build, such as the build ID and project ID. You can use the `buildID` property in that file to pull or push the build later.
@@ -23,12 +23,22 @@ The `--metadata-file` flag is optional, but it's useful for capturing the metada
2323
}
2424
```
2525

26+
The `--save-tag` flag is also optional, but it's useful for saving custom tags for your builds. You can use these custom tags in place of a build ID when trying to pull down a specific build.
27+
2628
For example, you could pull the image by the build ID in the metadata file via the `depot pull` command:
2729

2830
```bash
2931
depot pull $(cat build.json | jq -r .\[\"depot.build\"\].buildID)
3032
```
3133

34+
Or you could pull the image by the custom tag you saved:
35+
36+
```bash
37+
docker pull registry.depot.dev/<your-project-id>:latest
38+
```
39+
40+
Note that you'll first need to [authenticate with the Depot Registry](/docs/registry/quickstart#pulling-with-docker) before pulling the image.
41+
3242
If you are using GitHub Actions with the `depot/build-push-action`, you can add `save: true` as an input:
3343

3444
```yaml

0 commit comments

Comments
 (0)