Instead of just checking if it's not pull_request
This is so that pull requests that modify the docker image but don't have the DOCKER_HUB_USERNAME secret set won't fail.