Or, just have the compressor ready at the dock, and wait with the unloading until the hydrogen has been compressed.
But yeah, simply running a compressor powered by hydrogen should suffice. I assume the airships would require some surplus hydrogen anyway, in case there's a mid-flight leak or something.