Underneath "Claim" in my post here, I show that the Galois group of any cubic polynomial in $\mathbb{Q}[x]$ is determined by its discriminant. However, we can attack this with a more naive approach:
First, we know that the Galois group of a polynomial $f \in \mathbb{Q}[x]$ is a subgroup of the symmetric group $S_{\deg(f)}$, and when $f$ is irreducible, this subgroup is transitive$^\dagger$. Therefore, the Galois group of any irreducible cubic polynomial must be either $S_3$ or $A_3 \cong \mathbb{Z}_3$. If the cubic polynomial in question has complex roots, complex conjugation will be a nontrivial automorphism of the splitting field. Since complex conjugation is an element of the Galois group of order $2$, we'll have $\text{Gal}(f) \cong S_3$ per Lagrange's theorem.
So for irreducible cubic polynomials, we know $\text{Complex roots} \implies S_3$ Galois group. But what of cubics with all real roots? Will we necessarily have $\text{Gal}(f) \cong \mathbb{Z}_3$? Is $\text{Gal}(f) \cong S_3$ still possible? At this point, I think the discriminant argument is the easiest way to proceed. Some hints are below:
It is always the case that $D \in \mathbb{Q}$, and anything in $\mathbb{Q}$ is fixed by elements of $\text{Gal}(f)$. Next, consider the tower of fields $\mathbb{Q} \subset \mathbb{Q}(\sqrt{D}) \subset \mathbb{Q}(\sqrt{D}, \alpha)$, where $\alpha$ is one of the roots of $f$. Note that the latter field is the splitting field of $f$ (why?).
$\dagger$ For a proof of this fact, see Theorem 2.9(b) here.
$\ddagger$ Alternatively, note that complex conjugation, in general, is an odd permutation and thus not an element of an alternating group. From this, we can conclude $\text{Gal}(f) \cong S_3$.