Fix up some bugs in .gitlab-ci.yml and use a dockerfile for reproducibility
Note some bugs:
- define
stages
to guarantee order of operations - provide a
package
to build a docker image with the full binary - use job templates to reduce the usage of globally-defined configurations and be more explicit
- use
CI_COMMIT_REF_SLUG
as this is web-safe (since it's going underwww/
)