Log the pushed tag and add IP address display

Fixes #798
This commit is contained in:
Joseph Schorr 2016-04-20 13:00:21 -04:00
parent feabfa38ff
commit 03489c22ad
3 changed files with 13 additions and 2 deletions

View file

@ -464,7 +464,7 @@ def _write_manifest(namespace_name, repo_name, manifest):
'updated_tags': [tag_name],
}
track_and_log('push_repo', repo)
track_and_log('push_repo', repo, tag=tag_name)
spawn_notification(repo, 'repo_push', event_data)
response = make_response('OK', 202)