Skip to content

Commit 71f8ea2

Browse files
authored
Apply suggestions from code review
1 parent 915fa13 commit 71f8ea2

File tree

1 file changed

+10
-20
lines changed
  • content/manuals/build-cloud

1 file changed

+10
-20
lines changed

content/manuals/build-cloud/ci.md

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,11 @@ 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-
## CI Platform Examples
35+
## CI platform examples
3636

37-
Choose your CI platform to see detailed setup instructions:
3837

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)
4838

49-
### GitHub Actions {#github-actions}
39+
### GitHub Actions
5040

5141
> [!NOTE]
5242
>
@@ -100,7 +90,7 @@ jobs:
10090
outputs: ${{ github.event_name == 'pull_request' && 'type=cacheonly' || 'type=registry' }}
10191
```
10292
103-
### GitLab {#gitlab}
93+
### GitLab
10494
10595
```yaml
10696
default:
@@ -145,7 +135,7 @@ build_cache:
145135
.
146136
```
147137
148-
### Circle CI {#circle-ci}
138+
### Circle CI
149139
150140
```yaml
151141
version: 2.1
@@ -206,7 +196,7 @@ workflows:
206196
- build_push
207197
```
208198
209-
### Buildkite {#buildkite}
199+
### Buildkite
210200
211201
The following example sets up a Buildkite pipeline using Docker Build Cloud. The
212202
example assumes that the pipeline name is `build-push-docker` and that you
@@ -283,7 +273,7 @@ docker buildx build \
283273
.
284274
```
285275

286-
### Jenkins {#jenkins}
276+
### Jenkins
287277

288278
```groovy
289279
pipeline {
@@ -318,7 +308,7 @@ pipeline {
318308
}
319309
```
320310

321-
### Travis CI {#travis-ci}
311+
### Travis CI
322312

323313
```yaml
324314
language: minimal
@@ -349,7 +339,7 @@ script: |
349339
--tag "$IMAGE_NAME" .
350340
```
351341
352-
### BitBucket Pipelines {#bitbucket-pipelines}
342+
### BitBucket Pipelines
353343
354344
```yaml
355345
# Prerequisites: $DOCKER_USER, $DOCKER_PAT setup as deployment variables
@@ -379,7 +369,7 @@ pipelines:
379369
- docker
380370
```
381371
382-
### Shell Script {#shell-script}
372+
### Shell script
383373
384374
```bash
385375
#!/bin/bash
@@ -413,7 +403,7 @@ docker buildx build \
413403
.
414404
```
415405

416-
### Docker Compose {#docker-compose}
406+
### Docker Compose
417407

418408
Use this implementation if you want to use `docker compose build` with
419409
Docker Build Cloud in CI.

0 commit comments

Comments
 (0)