From 23cff4f49a8c757cc17250c5495ec8529db3ad13 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Wed, 8 Jan 2025 11:07:02 +0100 Subject: [PATCH] bump actions to latest major Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- .github/workflows/test.yml | 5 +---- .github/workflows/validate.yml | 7 +++---- README.md | 8 ++++---- subaction/list-targets/README.md | 4 ++-- 4 files changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 712dd67..10e4e63 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,12 +21,9 @@ jobs: test: runs-on: ubuntu-latest steps: - - - name: Checkout - uses: actions/checkout@v4 - name: Test - uses: docker/bake-action@v5 + uses: docker/bake-action@v6 with: targets: test - diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 7157b12..f2c96c8 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -36,11 +36,10 @@ jobs: matrix: target: ${{ fromJson(needs.prepare.outputs.targets) }} steps: - - - name: Checkout - uses: actions/checkout@v4 - name: Validate - uses: docker/bake-action@v5 + uses: docker/bake-action@v6 with: targets: ${{ matrix.target }} + set: | + *.args.BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 diff --git a/README.md b/README.md index 1715b28..67a2744 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Build and push - uses: docker/bake-action@v5 + uses: docker/bake-action@v6 with: push: true set: | @@ -80,7 +80,7 @@ to the default Git context: ```yaml - name: Build and push - uses: docker/bake-action@v5 + uses: docker/bake-action@v6 with: source: "{{defaultContext}}:mysubdir" push: true @@ -100,7 +100,7 @@ another private repository for remote definitions, you can set the ```yaml - name: Build and push - uses: docker/bake-action@v5 + uses: docker/bake-action@v6 with: push: true set: | @@ -135,7 +135,7 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Build and push - uses: docker/bake-action@v5 + uses: docker/bake-action@v6 with: source: . push: true diff --git a/subaction/list-targets/README.md b/subaction/list-targets/README.md index 7e2bcc3..bdc02b1 100644 --- a/subaction/list-targets/README.md +++ b/subaction/list-targets/README.md @@ -42,7 +42,7 @@ jobs: - name: List targets id: generate - uses: docker/bake-action/subaction/list-targets@v4 + uses: docker/bake-action/subaction/list-targets@v6 with: target: validate @@ -60,7 +60,7 @@ jobs: uses: actions/checkout@v4 - name: Validate - uses: docker/bake-action@v5 + uses: docker/bake-action@v6 with: targets: ${{ matrix.target }} ```