Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 13 additions & 21 deletions content/manuals/build-cloud/ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@
> Builds on Docker Build Cloud have a timeout limit of two hours. Builds that
> run for longer than two hours are automatically cancelled.
{{< tabs >}}
{{< tab name="GitHub Actions" >}}
## CI platform examples

Check warning on line 35 in content/manuals/build-cloud/ci.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Docker.HeadingSentenceCase] Use sentence case for headings: 'CI platform examples'. Raw Output: {"message": "[Docker.HeadingSentenceCase] Use sentence case for headings: 'CI platform examples'.", "location": {"path": "content/manuals/build-cloud/ci.md", "range": {"start": {"line": 35, "column": 4}}}, "severity": "WARNING"}



### GitHub Actions

> [!NOTE]
>
Expand Down Expand Up @@ -87,8 +90,7 @@
outputs: ${{ github.event_name == 'pull_request' && 'type=cacheonly' || 'type=registry' }}
```
{{< /tab >}}
{{< tab name="GitLab" >}}
### GitLab
```yaml
default:
Expand Down Expand Up @@ -133,8 +135,7 @@
.
```
{{< /tab >}}
{{< tab name="Circle CI" >}}
### Circle CI
```yaml
version: 2.1
Expand Down Expand Up @@ -195,8 +196,7 @@
- build_push
```
{{< /tab >}}
{{< tab name="Buildkite" >}}
### Buildkite

Check failure on line 199 in content/manuals/build-cloud/ci.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'Buildkite'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'Buildkite'?", "location": {"path": "content/manuals/build-cloud/ci.md", "range": {"start": {"line": 199, "column": 5}}}, "severity": "ERROR"}
The following example sets up a Buildkite pipeline using Docker Build Cloud. The
example assumes that the pipeline name is `build-push-docker` and that you
Expand Down Expand Up @@ -273,8 +273,7 @@
.
```

{{< /tab >}}
{{< tab name="Jenkins" >}}
### Jenkins

```groovy
pipeline {
Expand Down Expand Up @@ -309,8 +308,7 @@
}
```

{{< /tab >}}
{{< tab name="Travis CI" >}}
### Travis CI

```yaml
language: minimal
Expand Down Expand Up @@ -341,8 +339,7 @@
--tag "$IMAGE_NAME" .
```
{{< /tab >}}
{{< tab name="BitBucket Pipelines" >}}
### BitBucket Pipelines

Check warning on line 342 in content/manuals/build-cloud/ci.md

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Docker.HeadingSentenceCase] Use sentence case for headings: 'BitBucket Pipelines'. Raw Output: {"message": "[Docker.HeadingSentenceCase] Use sentence case for headings: 'BitBucket Pipelines'.", "location": {"path": "content/manuals/build-cloud/ci.md", "range": {"start": {"line": 342, "column": 5}}}, "severity": "WARNING"}
```yaml
# Prerequisites: $DOCKER_USER, $DOCKER_PAT setup as deployment variables
Expand Down Expand Up @@ -372,8 +369,7 @@
- docker
```
{{< /tab >}}
{{< tab name="Shell" >}}
### Shell script
```bash
#!/bin/bash
Expand Down Expand Up @@ -407,8 +403,7 @@
.
```

{{< /tab >}}
{{< tab name="Docker Compose" >}}
### Docker Compose

Use this implementation if you want to use `docker compose build` with
Docker Build Cloud in CI.
Expand Down Expand Up @@ -442,6 +437,3 @@
# Build the image build
docker compose build
```

{{< /tab >}}
{{< /tabs >}}
Loading