In this paper, we propose a new discrete-time risk model of an insurance portfolio with stochastic premiums, in which the temporal dependence among the premium numbers of consecutive periods is fitted by the first-order integer-valued autoregressive (INAR(1)) process and the temporal dependence among the claim numbers of consecutive periods is described by the integer-valued moving average (INMA(1)) process. To measure the risk of the model quantitatively, we study the explicit expression for a function whose solution is defined as the Lundberg adjustment coefficient and give the Lundberg approximation formula for the infinite-time ruin probability. In the case of heavy-tailed claim sizes, we establish the asymptotic formula for the finite-time ruin probability via the large deviations of the aggregate claims. Two numerical examples are provided in order to illustrate our theoretical findings.