diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 0563d647..bd51bb11 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -29,7 +29,7 @@ jobs:
         with:
           config: .github/buildkitd.toml
       - name: Login to DockerHub
-        uses: docker/login-action@v2
+        uses: docker/login-action@v3
         with:
           registry: ${{ env.REGISTRY }}
           username: ${{ github.actor }}