save artifact info to artifacts table

store registered artifacts in the database