readme: update to v7

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2026-03-05 19:52:40 +01:00
parent 82490499d2
commit a8f89f27f2
2 changed files with 16 additions and 16 deletions

View File

@@ -52,16 +52,16 @@ jobs:
steps: steps:
- -
name: Login to DockerHub name: Login to DockerHub
uses: docker/login-action@v3 uses: docker/login-action@v4
with: with:
username: ${{ vars.DOCKERHUB_USERNAME }} username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- -
name: Set up Docker Buildx name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v4
- -
name: Build and push name: Build and push
uses: docker/bake-action@v6 uses: docker/bake-action@v7
with: with:
push: true push: true
set: | set: |
@@ -82,7 +82,7 @@ to the default Git context:
```yaml ```yaml
- -
name: Build and push name: Build and push
uses: docker/bake-action@v6 uses: docker/bake-action@v7
with: with:
source: "{{defaultContext}}:mysubdir" source: "{{defaultContext}}:mysubdir"
push: true push: true
@@ -102,7 +102,7 @@ another private repository for remote definitions, you can set the
```yaml ```yaml
- -
name: Build and push name: Build and push
uses: docker/bake-action@v6 uses: docker/bake-action@v7
with: with:
push: true push: true
set: | set: |
@@ -125,19 +125,19 @@ jobs:
steps: steps:
- -
name: Checkout name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v6
- -
name: Login to DockerHub name: Login to DockerHub
uses: docker/login-action@v3 uses: docker/login-action@v4
with: with:
username: ${{ vars.DOCKERHUB_USERNAME }} username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- -
name: Set up Docker Buildx name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v4
- -
name: Build and push name: Build and push
uses: docker/bake-action@v6 uses: docker/bake-action@v7
with: with:
source: . source: .
push: true push: true
@@ -151,7 +151,7 @@ subdirectory:
```yaml ```yaml
- -
name: Build and push name: Build and push
uses: docker/bake-action@v6 uses: docker/bake-action@v7
with: with:
source: ./subdir source: ./subdir
files: ./docker-bake.hcl files: ./docker-bake.hcl

View File

@@ -41,11 +41,11 @@ jobs:
steps: steps:
- -
name: Checkout name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v6
- -
name: Generate matrix name: Generate matrix
id: generate id: generate
uses: docker/bake-action/subaction/matrix@v6 uses: docker/bake-action/subaction/matrix@v7
with: with:
target: validate target: validate
@@ -60,7 +60,7 @@ jobs:
steps: steps:
- -
name: Validate name: Validate
uses: docker/bake-action@v6 uses: docker/bake-action@v7
with: with:
targets: ${{ matrix.target }} targets: ${{ matrix.target }}
``` ```
@@ -95,11 +95,11 @@ jobs:
steps: steps:
- -
name: Checkout name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v6
- -
name: Generate matrix name: Generate matrix
id: generate id: generate
uses: docker/bake-action/subaction/matrix@v6 uses: docker/bake-action/subaction/matrix@v7
with: with:
target: lint target: lint
fields: platforms fields: platforms
@@ -115,7 +115,7 @@ jobs:
steps: steps:
- -
name: Lint name: Lint
uses: docker/bake-action@v6 uses: docker/bake-action@v7
with: with:
targets: ${{ matrix.target }} targets: ${{ matrix.target }}
set: | set: |