diff --git a/.gitea/workflows/push.yaml b/.gitea/workflows/push.yaml
index 7f6b235..6855abe 100644
--- a/.gitea/workflows/push.yaml
+++ b/.gitea/workflows/push.yaml
@@ -27,8 +27,16 @@ jobs:
                   go env -w GO111MODULE=on
                   go env -w GOPROXY=https://goproxy.io,direct
                   chown -R root:root /root/.ssh
+            - name: Determine build command
+              id: build_command
+              run: |
+                if [[ "${{ github.event.head_commit.message }}" == *"force build"* ]]; then
+                  echo "build_command=make force-build" >> $GITHUB_ENV
+                else
+                  echo "build_command=make build" >> $GITHUB_ENV
+                fi
             - name: Build
-              run: make force-build
+              run: ${{ env.build_command }}
             - name: Check images
               run: docker images
             - name: Push