- Add summaryType state to distinguish between buildx and cloud summaries.
- Generate a Docker Build Cloud summary with a direct link to build details on app.docker.com when using the cloud driver.
- Refactor state-helper to use summaryType instead of isSummarySupported.
- Improve summary selection logic and output for both buildx and cloud drivers.
- Add informative logging for cloud build summary links.
Signed-off-by: Nicolas Beck <nicolas.beck@docker.com>
sum.addRaw('<p>').addRaw('Your build was executed using Docker Build Cloud. ').addRaw('You can view detailed build information, logs, and results here: ').addLink(buildUrl,buildUrl).addRaw('</p>');
sum.addRaw('<p>').addRaw('For more information about Docker Build Cloud, see ').addLink('the documentation','https://docs.docker.com/build/cloud/').addRaw('.').addRaw('</p>');