fix action, image and key specs
add domain spec - fix #11