Skip to content

Commit a745724

Browse files
committed
ci: update bake-action to v6
Signed-off-by: CrazyMax <[email protected]>
1 parent 7e1a59e commit a745724

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ jobs:
2323
releaser:
2424
runs-on: ubuntu-24.04
2525
steps:
26-
-
27-
name: Checkout
28-
uses: actions/checkout@v4
2926
-
3027
name: Set up Docker Buildx
3128
uses: docker/setup-buildx-action@v3
@@ -34,7 +31,7 @@ jobs:
3431
driver-opts: image=${{ env.SETUP_BUILDKIT_IMAGE }}
3532
-
3633
name: Build
37-
uses: docker/bake-action@v5
34+
uses: docker/bake-action@v6
3835
with:
3936
files: |
4037
docker-bake.hcl
@@ -56,8 +53,9 @@ jobs:
5653
uses: docker/setup-buildx-action@v3
5754
-
5855
name: Build
59-
uses: docker/bake-action@v5
56+
uses: docker/bake-action@v6
6057
with:
58+
source: .
6159
files: |
6260
docker-bake.hcl
6361
targets: release
@@ -66,8 +64,9 @@ jobs:
6664
*.cache-to=type=gha,scope=build,mode=max
6765
-
6866
name: Check Cloudfront config
69-
uses: docker/bake-action@v5
67+
uses: docker/bake-action@v6
7068
with:
69+
source: .
7170
targets: aws-cloudfront-update
7271
env:
7372
DRY_RUN: true
@@ -99,20 +98,18 @@ jobs:
9998
- dockerfile-lint
10099
- path-warnings
101100
steps:
102-
-
103-
name: Checkout
104-
uses: actions/checkout@v4
105101
-
106102
name: Set up Docker Buildx
107103
uses: docker/setup-buildx-action@v3
108104
-
109105
name: Validate
110-
uses: docker/bake-action@v5
106+
uses: docker/bake-action@v6
111107
with:
112108
files: |
113109
docker-bake.hcl
114110
targets: ${{ matrix.target }}
115111
set: |
112+
*.args.BUILDKIT_CONTEXT_KEEP_GIT_DIR=1
116113
*.cache-to=type=gha,scope=validate-${{ matrix.target }},mode=max
117114
*.cache-from=type=gha,scope=validate-${{ matrix.target }}
118115
*.cache-from=type=gha,scope=build

.github/workflows/deploy.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,9 @@ jobs:
9090
driver-opts: image=${{ env.SETUP_BUILDKIT_IMAGE }}
9191
-
9292
name: Build website
93-
uses: docker/bake-action@v5
93+
uses: docker/bake-action@v6
9494
with:
95+
source: .
9596
files: |
9697
docker-bake.hcl
9798
targets: release
@@ -127,8 +128,9 @@ jobs:
127128
-
128129
name: Update S3 config
129130
if: ${{ env.DOCS_S3_BUCKET != '' && env.DOCS_S3_CONFIG != '' }}
130-
uses: docker/bake-action@v5
131+
uses: docker/bake-action@v6
131132
with:
133+
source: .
132134
files: |
133135
docker-bake.hcl
134136
targets: aws-s3-update-config
@@ -141,8 +143,9 @@ jobs:
141143
-
142144
name: Update Cloudfront config
143145
if: ${{ env.DOCS_CLOUDFRONT_ID != '' }}
144-
uses: docker/bake-action@v5
146+
uses: docker/bake-action@v6
145147
with:
148+
source: .
146149
files: |
147150
docker-bake.hcl
148151
targets: aws-cloudfront-update

.github/workflows/validate-upstream.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,9 @@ jobs:
9090
driver-opts: image=${{ env.SETUP_BUILDKIT_IMAGE }}
9191
-
9292
name: Validate
93-
uses: docker/bake-action@v5
93+
uses: docker/bake-action@v6
9494
with:
95+
source: .
9596
files: |
9697
docker-bake.hcl
9798
targets: validate-upstream

0 commit comments

Comments
 (0)