Fix image tags
This MR changes the way that container image tags are determined:
- for
build
jobs, always use the git commit SHA (gitlab's autobuild default is the branch/tag name) - for
push
jobs use theCI_COMMIT_REF_SLUG
which evaluates to the tag/branch name