Avoid parsing Dockerfiles for push or pull actions