Use Trivy to check Docker image builds for vulnerabilities
This will fail the build if a critical vulnerability is found
NOTE: This effectively replaces the existing pipeline for building Docker images. If this MR is merged, it would immediately affect the next builds of every repo in https://gitlab.esss.lu.se/ics-docker as well as any other potential repo that uses this shared pipeline configuration.