Decentralized digital manufacturing can contribute in advancing automation to overcome the limitations posed by most of today's manufacturing systems due to the Coronavirus 2019 (COVID-19) pandemic. However, certain challenges, such as attestation and certification of the product, tracing the product throughout the entire process, and ensuring the protection of intellectual property (IP) rights, are hindering its widespread adoption. In this paper, we propose a blockchain-based solution for decentralized digital manufacturing of medical devices and supplies during the Covid-19 pandemic. We develop Ethereum smart contracts to govern and track the different participants' transactions throughout the process in a manner that is decentralized, transparent, traceable and trackable, auditable, trustworthy, and secure. We incorporate the decentralized storage of the InterPlanetary file system (IPFS) into the Ethereum blockchain to store and fetch manufacturing records, Internet of things (IoT)-based devices records, and additional product and digital manufacturing process details. We present the system architecture and algorithms along with their full implementation details. Furthermore, we present cost and security analyses to show that the proposed solution is cost-efficient and resilient against well-known vulnerabilities and security attacks. We make our smart contracts code publicly available on GitHub.