Generate ETag header using the image digest