Skip to content

Commit 915fa13

Browse files
committed
convert CI platform tabs to linkable sections
1 parent 2090e5b commit 915fa13

File tree

1 file changed

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

1 file changed

+23
-21
lines changed

content/manuals/build-cloud/ci.md

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,21 @@ 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+
Choose your CI platform to see detailed setup instructions:
38+
39+
- [GitHub Actions](#github-actions)
40+
- [GitLab](#gitlab)
41+
- [Circle CI](#circle-ci)
42+
- [Buildkite](#buildkite)
43+
- [Jenkins](#jenkins)
44+
- [Travis CI](#travis-ci)
45+
- [BitBucket Pipelines](#bitbucket-pipelines)
46+
- [Shell Script](#shell-script)
47+
- [Docker Compose](#docker-compose)
48+
49+
### GitHub Actions {#github-actions}
3750

3851
> [!NOTE]
3952
>
@@ -87,8 +100,7 @@ jobs:
87100
outputs: ${{ github.event_name == 'pull_request' && 'type=cacheonly' || 'type=registry' }}
88101
```
89102
90-
{{< /tab >}}
91-
{{< tab name="GitLab" >}}
103+
### GitLab {#gitlab}
92104
93105
```yaml
94106
default:
@@ -133,8 +145,7 @@ build_cache:
133145
.
134146
```
135147
136-
{{< /tab >}}
137-
{{< tab name="Circle CI" >}}
148+
### Circle CI {#circle-ci}
138149
139150
```yaml
140151
version: 2.1
@@ -195,8 +206,7 @@ workflows:
195206
- build_push
196207
```
197208
198-
{{< /tab >}}
199-
{{< tab name="Buildkite" >}}
209+
### Buildkite {#buildkite}
200210
201211
The following example sets up a Buildkite pipeline using Docker Build Cloud. The
202212
example assumes that the pipeline name is `build-push-docker` and that you
@@ -273,8 +283,7 @@ docker buildx build \
273283
.
274284
```
275285

276-
{{< /tab >}}
277-
{{< tab name="Jenkins" >}}
286+
### Jenkins {#jenkins}
278287

279288
```groovy
280289
pipeline {
@@ -309,8 +318,7 @@ pipeline {
309318
}
310319
```
311320

312-
{{< /tab >}}
313-
{{< tab name="Travis CI" >}}
321+
### Travis CI {#travis-ci}
314322

315323
```yaml
316324
language: minimal
@@ -341,8 +349,7 @@ script: |
341349
--tag "$IMAGE_NAME" .
342350
```
343351
344-
{{< /tab >}}
345-
{{< tab name="BitBucket Pipelines" >}}
352+
### BitBucket Pipelines {#bitbucket-pipelines}
346353
347354
```yaml
348355
# Prerequisites: $DOCKER_USER, $DOCKER_PAT setup as deployment variables
@@ -372,8 +379,7 @@ pipelines:
372379
- docker
373380
```
374381
375-
{{< /tab >}}
376-
{{< tab name="Shell" >}}
382+
### Shell Script {#shell-script}
377383
378384
```bash
379385
#!/bin/bash
@@ -407,8 +413,7 @@ docker buildx build \
407413
.
408414
```
409415

410-
{{< /tab >}}
411-
{{< tab name="Docker Compose" >}}
416+
### Docker Compose {#docker-compose}
412417

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

0 commit comments

Comments
 (0)