If just the tank is losing pressure then it could be one of the tank fittings or it could be the compressor check valve.
To test the check valve, first remove the gray filter from the front of the compressor. Then turn the compressor on, with the compressor running the air filter port should...