Skip to content

Commit 877b29c

Browse files
convert build cloud CI platform tabs to linkable sections (#22111)
<!--Delete sections as needed --> ## Description This change converts the CI platform examples from Hugo tab shortcodes to standard markdown sections with anchor links so that we can hyperlink to them from app.docker.com ## Related issues or tickets none ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [ ] Editorial review - [ ] Product review --------- Co-authored-by: Allie Sadler <[email protected]>
1 parent a39967f commit 877b29c

File tree

1 file changed

+11
-21
lines changed
  • content/manuals/build-cloud

1 file changed

+11
-21
lines changed

content/manuals/build-cloud/ci.md

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ See [Loading build results](./usage/#loading-build-results) for details.
3232
> Builds on Docker Build Cloud have a timeout limit of two hours. Builds that
3333
> run for longer than two hours are automatically cancelled.
3434
35-
{{< tabs >}}
36-
{{< tab name="GitHub Actions" >}}
35+
## CI platform examples
36+
37+
### GitHub Actions
3738

3839
> [!NOTE]
3940
>
@@ -87,8 +88,7 @@ jobs:
8788
outputs: ${{ github.event_name == 'pull_request' && 'type=cacheonly' || 'type=registry' }}
8889
```
8990
90-
{{< /tab >}}
91-
{{< tab name="GitLab" >}}
91+
### GitLab
9292
9393
```yaml
9494
default:
@@ -133,8 +133,7 @@ build_cache:
133133
.
134134
```
135135
136-
{{< /tab >}}
137-
{{< tab name="Circle CI" >}}
136+
### Circle CI
138137
139138
```yaml
140139
version: 2.1
@@ -195,8 +194,7 @@ workflows:
195194
- build_push
196195
```
197196
198-
{{< /tab >}}
199-
{{< tab name="Buildkite" >}}
197+
### Buildkite
200198
201199
The following example sets up a Buildkite pipeline using Docker Build Cloud. The
202200
example assumes that the pipeline name is `build-push-docker` and that you
@@ -273,8 +271,7 @@ docker buildx build \
273271
.
274272
```
275273

276-
{{< /tab >}}
277-
{{< tab name="Jenkins" >}}
274+
### Jenkins
278275

279276
```groovy
280277
pipeline {
@@ -309,8 +306,7 @@ pipeline {
309306
}
310307
```
311308

312-
{{< /tab >}}
313-
{{< tab name="Travis CI" >}}
309+
### Travis CI
314310

315311
```yaml
316312
language: minimal
@@ -341,8 +337,7 @@ script: |
341337
--tag "$IMAGE_NAME" .
342338
```
343339
344-
{{< /tab >}}
345-
{{< tab name="BitBucket Pipelines" >}}
340+
### BitBucket Pipelines
346341
347342
```yaml
348343
# Prerequisites: $DOCKER_USER, $DOCKER_PAT setup as deployment variables
@@ -372,8 +367,7 @@ pipelines:
372367
- docker
373368
```
374369
375-
{{< /tab >}}
376-
{{< tab name="Shell" >}}
370+
### Shell script
377371
378372
```bash
379373
#!/bin/bash
@@ -407,8 +401,7 @@ docker buildx build \
407401
.
408402
```
409403

410-
{{< /tab >}}
411-
{{< tab name="Docker Compose" >}}
404+
### Docker Compose
412405

413406
Use this implementation if you want to use `docker compose build` with
414407
Docker Build Cloud in CI.
@@ -442,6 +435,3 @@ docker buildx create --use --driver cloud "<ORG>/default"
442435
# Build the image build
443436
docker compose build
444437
```
445-
446-
{{< /tab >}}
447-
{{< /tabs >}}

0 commit comments

Comments
 (0)