diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml
index d215650ea3f28de4b46f66588a32d3bbbd6eb854..a51debf6bf201dac0b40333a1b5de2dbf90c7a72 100644
--- a/.github/workflows/build-image.yml
+++ b/.github/workflows/build-image.yml
@@ -22,7 +22,7 @@ jobs:
           username: ${{ secrets.DOCKERHUB_USERNAME }}
           password: ${{ secrets.DOCKERHUB_TOKEN }}
         if: github.event_name != 'pull_request'
-      - uses: docker/metadata-action@v3
+      - uses: docker/metadata-action@v4
         id: meta
         with:
           images: tootsuite/mastodon