Skip to content

Commit d742c8d

Browse files
Merge pull request #34 from depot/pedro/doc-48-clarify-variable-precedence-for-x-depotproject-id-and-bake
docs: Clarify project ID precedence in bake files
2 parents 7142aeb + fa15e03 commit d742c8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ This action needs a Depot API token to communicate with your project's builders.
8585

8686
| Name | Type | Description |
8787
| ---------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
88-
| `project` | String | Depot [project](https://depot.dev/docs/core-concepts#projects) ID to route the image build to your projects builders (default: the `depot.json` file at the root of your repo) |
88+
| `project` | String | Depot [project](https://depot.dev/docs/core-concepts#projects) ID to route the image build to your projects builders (default: the `depot.json` file at the root of your repo)<br><br>**Note:** If you specify `x-depot.project-id` in your Docker Compose file or `project_id` in your HCL bake file for individual services/targets, those project IDs will take precedence over this parameter. |
8989
| `token` | String | You must authenticate with the Depot API to communicate with your projects builders ([see Authentication above](#authentication)) |
9090
| `build-platform` | String | The platform to use for the build ( `linux/amd64` or `linux/arm64`) |
9191
| `lint` | Bool | Lint dockerfiles and fail build if any issues are of `error` severity. (default `false`) |

0 commit comments

Comments
 (0)