Only run docker build when needed
The current behavior creates a lot of duplicate docker tags and images. We should only run docker build
under the following conditions:
- changes have been made to the Dockerfile
- this is a significant ref (e.g. tagged, master, manually triggered pipeline)