diff --git a/.github/workflows/build+test.yml b/.github/workflows/build+test.yml index 8b8b032..a4636e8 100644 --- a/.github/workflows/build+test.yml +++ b/.github/workflows/build+test.yml @@ -69,7 +69,7 @@ jobs: uses: docker/build-push-action@v2 with: builder: ${{ steps.buildx.outputs.name }} - target: moth + target: moth-devel file: build/package/Containerfile push: true tags: | diff --git a/cmd/mothd/server.go b/cmd/mothd/server.go index 60aa8ae..8a2af52 100644 --- a/cmd/mothd/server.go +++ b/cmd/mothd/server.go @@ -169,6 +169,7 @@ func (mh *MothRequestHandler) Register(teamName string) error { if teamName == "" { return fmt.Errorf("Empty team name") } + mh.State.LogEvent("register", mh.participantID, mh.teamID, "", 0) return mh.State.SetTeamName(mh.teamID, teamName) }