bake: allow dot in target names for compose

This is a hotfix for v0.8 to unblock release and
restore backward compatibility. More proper fix
coming later.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi
2022-03-20 18:55:45 -07:00
parent 106651877d
commit 24ad37a5d2
3 changed files with 16 additions and 3 deletions

View File

@@ -330,6 +330,10 @@ func TestServiceName(t *testing.T) {
},
{
svc: "a.b",
wantErr: false,
},
{
svc: "a?b",
wantErr: true,
},
{