From 155e77ab841256037cbe7b6ce8f1f801bb5db805 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Thu, 5 Mar 2026 22:21:36 +0100 Subject: [PATCH 1/5] readme: update to v7 Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- README.md | 22 ++++++++-------- TROUBLESHOOTING.md | 62 +++------------------------------------------- 2 files changed, 15 insertions(+), 69 deletions(-) diff --git a/README.md b/README.md index b50e801..6e03dea 100644 --- a/README.md +++ b/README.md @@ -62,19 +62,19 @@ jobs: steps: - name: Login to Docker Hub - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: username: ${{ vars.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set up QEMU - uses: docker/setup-qemu-action@v3 + uses: docker/setup-qemu-action@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Build and push - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: push: true tags: user/app:latest @@ -94,7 +94,7 @@ to the default Git context: ```yaml - name: Build and push - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: context: "{{defaultContext}}:mysubdir" push: true @@ -109,7 +109,7 @@ named `GIT_AUTH_TOKEN` to be able to authenticate against it with Buildx: ```yaml - name: Build and push - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: push: true tags: user/app:latest @@ -131,22 +131,22 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v5 + uses: actions/checkout@v6 - name: Login to Docker Hub - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: username: ${{ vars.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set up QEMU - uses: docker/setup-qemu-action@v3 + uses: docker/setup-qemu-action@v4 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Build and push - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: context: . push: true diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md index 5fbbcad..9aefb9a 100644 --- a/TROUBLESHOOTING.md +++ b/TROUBLESHOOTING.md @@ -1,8 +1,6 @@ # Troubleshooting * [Cannot push to a registry](#cannot-push-to-a-registry) - * [BuildKit container logs](#buildkit-container-logs) - * [With containerd](#with-containerd) * [`repository name must be lowercase`](#repository-name-must-be-lowercase) ## Cannot push to a registry @@ -21,59 +19,9 @@ These issues are not directly related to this action but are rather linked to you're pushing your image. The quality of error message depends on the registry and are usually not very informative. -### BuildKit container logs - To help you solve this, you have to [enable debugging in the setup-buildx](https://github.com/docker/setup-buildx-action#buildkit-container-logs) action step and attach BuildKit container logs to your issue. -### With containerd - -Next you can test pushing with [containerd action](https://github.com/crazy-max/ghaction-setup-containerd) -using the following workflow. If it works then open an issue on [BuildKit](https://github.com/moby/buildkit) -repository. - -```yaml -name: containerd - -on: - push: - -jobs: - containerd: - runs-on: ubuntu-latest - steps: - - - name: Checkout - uses: actions/checkout@v4 - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - with: - buildkitd-flags: --debug - - - name: Set up containerd - uses: crazy-max/ghaction-setup-containerd@v2 - - - name: Build Docker image - uses: docker/build-push-action@v6 - with: - context: . - platforms: linux/amd64,linux/arm64 - tags: docker.io/user/app:latest - outputs: type=oci,dest=/tmp/image.tar - - - name: Import image in containerd - run: | - sudo ctr i import --base-name docker.io/user/app --digests --all-platforms /tmp/image.tar - - - name: Push image with containerd - run: | - sudo ctr --debug i push --user "${{ secrets.DOCKER_USERNAME }}:${{ secrets.DOCKER_PASSWORD }}" docker.io/user/app:latest -``` - ## `repository name must be lowercase` You may encounter this issue if you're using `github.repository` as a repo slug @@ -105,15 +53,14 @@ to generate sanitized tags: ```yaml - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v6 with: images: ghcr.io/${{ github.repository }} tags: latest - name: Build and push - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: - context: . push: true tags: ${{ steps.meta.outputs.tags }} ``` @@ -122,16 +69,15 @@ Or a dedicated step to sanitize the slug: ```yaml - name: Sanitize repo slug - uses: actions/github-script@v6 + uses: actions/github-script@v8 id: repo_slug with: result-encoding: string script: return 'ghcr.io/${{ github.repository }}'.toLowerCase() - name: Build and push - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: - context: . push: true tags: ${{ steps.repo_slug.outputs.result }}:latest ``` From 63e92d1fdf1978dfc5bcc69cae0cb7f39901a1d7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 6 Mar 2026 11:52:23 +0000 Subject: [PATCH 2/5] chore(deps): Bump docker/metadata-action from 5 to 6 Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 5 to 6. - [Release notes](https://github.com/docker/metadata-action/releases) - [Commits](https://github.com/docker/metadata-action/compare/v5...v6) --- updated-dependencies: - dependency-name: docker/metadata-action dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/.e2e-run.yml | 2 +- .github/workflows/ci.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/.e2e-run.yml b/.github/workflows/.e2e-run.yml index c010297..552307e 100644 --- a/.github/workflows/.e2e-run.yml +++ b/.github/workflows/.e2e-run.yml @@ -83,7 +83,7 @@ jobs: - name: Docker meta id: meta - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v6 with: images: ${{ env.REGISTRY_SLUG || inputs.slug }} tags: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4680a4d..5b7e034 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -220,7 +220,7 @@ jobs: - name: Docker meta id: meta - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v6 with: images: ${{ env.DOCKER_IMAGE }} tags: | @@ -1219,7 +1219,7 @@ jobs: - name: Docker meta id: meta - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v6 with: images: ${{ env.DOCKER_IMAGE }} tags: | From 3cb57ac71ca9fee0f79a5e5d72be0f7407aeda44 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Mar 2026 15:25:03 +0000 Subject: [PATCH 3/5] chore(deps): Bump docker/bake-action from 6 to 7 Bumps [docker/bake-action](https://github.com/docker/bake-action) from 6 to 7. - [Release notes](https://github.com/docker/bake-action/releases) - [Commits](https://github.com/docker/bake-action/compare/v6...v7) --- updated-dependencies: - dependency-name: docker/bake-action dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/test.yml | 2 +- .github/workflows/update-dist.yml | 2 +- .github/workflows/validate.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2ca98b1..ea8323b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v6 - name: Test - uses: docker/bake-action@v6 + uses: docker/bake-action@v7 with: source: . targets: test diff --git a/.github/workflows/update-dist.yml b/.github/workflows/update-dist.yml index 744588f..4dc3802 100644 --- a/.github/workflows/update-dist.yml +++ b/.github/workflows/update-dist.yml @@ -28,7 +28,7 @@ jobs: token: ${{ steps.docker-read-app.outputs.token || github.token }} - name: Build - uses: docker/bake-action@v6 + uses: docker/bake-action@v7 with: source: . targets: build diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index ae6f92e..95093c7 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -23,7 +23,7 @@ jobs: - name: List targets id: generate - uses: docker/bake-action/subaction/list-targets@v6 + uses: docker/bake-action/subaction/list-targets@v7 with: target: validate @@ -38,6 +38,6 @@ jobs: steps: - name: Validate - uses: docker/bake-action@v6 + uses: docker/bake-action@v7 with: targets: ${{ matrix.target }} From b0bdd3ad21822353e5bcb659ba5c6d26b059b955 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Mon, 9 Mar 2026 16:26:49 +0100 Subject: [PATCH 4/5] ci: switch to matrix subaction Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- .github/workflows/validate.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 95093c7..33aed91 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -15,15 +15,15 @@ jobs: prepare: runs-on: ubuntu-latest outputs: - targets: ${{ steps.generate.outputs.targets }} + matrix: ${{ steps.generate.outputs.matrix }} steps: - name: Checkout uses: actions/checkout@v6 - - name: List targets + name: Generate matrix id: generate - uses: docker/bake-action/subaction/list-targets@v7 + uses: docker/bake-action/subaction/matrix@v7 with: target: validate @@ -34,7 +34,7 @@ jobs: strategy: fail-fast: false matrix: - target: ${{ fromJson(needs.prepare.outputs.targets) }} + include: ${{ fromJson(needs.prepare.outputs.matrix) }} steps: - name: Validate From 344ec24f8d3256dec48335b8c3fb14c3b058d861 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Mar 2026 11:55:56 +0000 Subject: [PATCH 5/5] chore(deps): Bump actions/create-github-app-token from 2 to 3 Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 2 to 3. - [Release notes](https://github.com/actions/create-github-app-token/releases) - [Commits](https://github.com/actions/create-github-app-token/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/create-github-app-token dependency-version: '3' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/update-dist.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-dist.yml b/.github/workflows/update-dist.yml index 4dc3802..fefe728 100644 --- a/.github/workflows/update-dist.yml +++ b/.github/workflows/update-dist.yml @@ -14,7 +14,7 @@ jobs: - name: GitHub auth token from GitHub App id: docker-read-app - uses: actions/create-github-app-token@v2 + uses: actions/create-github-app-token@v3 with: app-id: ${{ secrets.GHACTIONS_REPO_WRITE_APP_ID }} private-key: ${{ secrets.GHACTIONS_REPO_WRITE_APP_PRIVATE_KEY }}