You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,24 +46,22 @@ on:
46
46
47
47
jobs:
48
48
bake:
49
-
runs-on: ubuntu-latest
49
+
runs-on: warp-ubuntu-latest-x64-4x
50
50
steps:
51
51
-
52
52
name: Login to DockerHub
53
53
uses: docker/login-action@v3
54
54
with:
55
55
username: ${{ vars.DOCKERHUB_USERNAME }}
56
56
password: ${{ secrets.DOCKERHUB_TOKEN }}
57
-
-
58
-
name: Set up Docker Buildx
59
-
uses: docker/setup-buildx-action@v3
60
57
-
61
58
name: Build and push
62
-
uses: docker/bake-action@v6
59
+
uses: Warpbuilds/bake-action@v6
63
60
with:
64
61
push: true
65
62
set: |
66
63
*.tags=user/app:latest
64
+
profile-name: super-fast-builder
67
65
```
68
66
69
67
Be careful because **any file mutation in the steps that precede the build step
@@ -80,12 +78,13 @@ to the default Git context:
80
78
```yaml
81
79
-
82
80
name: Build and push
83
-
uses: docker/bake-action@v6
81
+
uses: Warpbuilds/bake-action@v6
84
82
with:
85
83
source: "{{defaultContext}}:mysubdir"
86
84
push: true
87
85
set: |
88
86
*.tags=user/app:latest
87
+
profile-name: super-fast-builder
89
88
```
90
89
91
90
Building from the current repository automatically uses the `GITHUB_TOKEN`
@@ -119,7 +118,7 @@ on:
119
118
120
119
jobs:
121
120
bake:
122
-
runs-on: ubuntu-latest
121
+
runs-on: warp-ubuntu-latest-x64-4x
123
122
steps:
124
123
-
125
124
name: Checkout
@@ -130,17 +129,15 @@ jobs:
130
129
with:
131
130
username: ${{ vars.DOCKERHUB_USERNAME }}
132
131
password: ${{ secrets.DOCKERHUB_TOKEN }}
133
-
-
134
-
name: Set up Docker Buildx
135
-
uses: docker/setup-buildx-action@v3
136
132
-
137
133
name: Build and push
138
-
uses: docker/bake-action@v6
134
+
uses: Warpbuilds/bake-action@v6
139
135
with:
140
136
source: .
141
137
push: true
142
138
set: |
143
139
*.tags=user/app:latest
140
+
profile-name: super-fast-builder
144
141
```
145
142
146
143
## Summaries
@@ -213,6 +210,9 @@ The following inputs can be used as `step.with` keys
213
210
| `sbom` | Bool/String | [SBOM](https://docs.docker.com/build/attestations/sbom/) is a shorthand for `--set=*.attest=type=sbom` |
214
211
| `set` | List | List of [targets values to override](https://docs.docker.com/engine/reference/commandline/buildx_bake/#set) (e.g., `targetpattern.key=value`) |
215
212
| `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 |
0 commit comments