Skip to content

Commit 54dcee7

Browse files
Merge pull request #2 from WarpBuilds/fix/readme
2 parents bda98bd + d51044f commit 54dcee7

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,24 +46,22 @@ on:
4646

4747
jobs:
4848
bake:
49-
runs-on: ubuntu-latest
49+
runs-on: warp-ubuntu-latest-x64-4x
5050
steps:
5151
-
5252
name: Login to DockerHub
5353
uses: docker/login-action@v3
5454
with:
5555
username: ${{ vars.DOCKERHUB_USERNAME }}
5656
password: ${{ secrets.DOCKERHUB_TOKEN }}
57-
-
58-
name: Set up Docker Buildx
59-
uses: docker/setup-buildx-action@v3
6057
-
6158
name: Build and push
62-
uses: docker/bake-action@v6
59+
uses: Warpbuilds/bake-action@v6
6360
with:
6461
push: true
6562
set: |
6663
*.tags=user/app:latest
64+
profile-name: super-fast-builder
6765
```
6866
6967
Be careful because **any file mutation in the steps that precede the build step
@@ -80,12 +78,13 @@ to the default Git context:
8078
```yaml
8179
-
8280
name: Build and push
83-
uses: docker/bake-action@v6
81+
uses: Warpbuilds/bake-action@v6
8482
with:
8583
source: "{{defaultContext}}:mysubdir"
8684
push: true
8785
set: |
8886
*.tags=user/app:latest
87+
profile-name: super-fast-builder
8988
```
9089

9190
Building from the current repository automatically uses the `GITHUB_TOKEN`
@@ -119,7 +118,7 @@ on:
119118
120119
jobs:
121120
bake:
122-
runs-on: ubuntu-latest
121+
runs-on: warp-ubuntu-latest-x64-4x
123122
steps:
124123
-
125124
name: Checkout
@@ -130,17 +129,15 @@ jobs:
130129
with:
131130
username: ${{ vars.DOCKERHUB_USERNAME }}
132131
password: ${{ secrets.DOCKERHUB_TOKEN }}
133-
-
134-
name: Set up Docker Buildx
135-
uses: docker/setup-buildx-action@v3
136132
-
137133
name: Build and push
138-
uses: docker/bake-action@v6
134+
uses: Warpbuilds/bake-action@v6
139135
with:
140136
source: .
141137
push: true
142138
set: |
143139
*.tags=user/app:latest
140+
profile-name: super-fast-builder
144141
```
145142

146143
## Summaries
@@ -213,6 +210,9 @@ The following inputs can be used as `step.with` keys
213210
| `sbom` | Bool/String | [SBOM](https://docs.docker.com/build/attestations/sbom/) is a shorthand for `--set=*.attest=type=sbom` |
214211
| `set` | List | List of [targets values to override](https://docs.docker.com/engine/reference/commandline/buildx_bake/#set) (e.g., `targetpattern.key=value`) |
215212
| `github-token` | String | API token used to authenticate to a Git repository for [remote definitions](https://docs.docker.com/build/bake/remote-definition/) (default `${{ github.token }}`) |
213+
| `profile-name` | String | The profile name to use for the WarpBuild Docker Builders |
214+
| `api-key` | String | The API key for the WarpBuild API. This is not required in case of using WarpBuild runners |
215+
| `timeout` | String | The timeout(in ms) to wait for the Docker Builders to be ready. By default, it is 10 minutes |
216216

217217
### outputs
218218

0 commit comments

Comments
 (0)