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 }} ```