.gitlab-ci.yml: fix syntax

3 jobs for main in 15 minutes and 35 seconds
latest
Status Name Job ID Coverage
  Build
passed amd64 #1708461724

00:04:27

passed arm64 #1708461725

00:13:04

 
  Test
passed publish-snap #1708461726

00:02:30