Skip to content

[Docs] Container Contract: Example is wrong #8647

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
anbrsap opened this issue Mar 14, 2025 · 0 comments · May be fixed by #8696
Open

[Docs] Container Contract: Example is wrong #8647

anbrsap opened this issue Mar 14, 2025 · 0 comments · May be fixed by #8696

Comments

@anbrsap
Copy link

anbrsap commented Mar 14, 2025

For example, consider the following `Task`, which uses two images named
`gcr.io/cloud-builders/gcloud` and `gcr.io/cloud-builders/docker`. In this example, the
Pipelines controller retrieves the `entrypoint` value from the registry, which allows
the `Task` to execute the `gcloud` and `docker` commands, respectively.

Retrieving the entrypoint from the registry happens only if no command is specified. But in the example below command is specified and therefore the entrypoint is not retrieved from the registry.

```yaml
spec:
steps:
- image: gcr.io/cloud-builders/gcloud
command: [gcloud]
- image: gcr.io/cloud-builders/docker
command: [docker]
```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

1 participant